test_csdn_md

test_csdn_md

Introduction

This is a project for Radar to LiDAR calibration, currently only including manual calibration.

Prerequisites

  • Cmake
  • opencv 2.4
  • eigen 3
  • PCL 1.9
  • Pangolin

Compile

Compile in their respective folders

# mkdir build
mkdir -p build && cd build
# build
cmake .. && make

Manual calibration tool

  1. Four input files:

    Usage: ./run_radar2lidar <pcd_path> <radar_file_path> <extrinsic_json>
    
  • pcd_path: PCD file from the Lidar sensor
  • radar_file_path: CSV file from the Radar sensor
  • extrinsic_json: JSON file of initial values of extrinsic parameters between sensors
  1. Run the test sample:

    The executable file is under the bin folder.

    cd ~./manual_calib/
    ./bin/run_radar2lidar data/lidar.pcd data/front_radar.csv data/front_radar-to-top_center_lidar-extrinsic.json
    
  2. Calibration panel:
    在这里插入图片描述

    The calibration window consists of the left control panel for manual calibration and the right point cloud interface. Users can check whether the Radar point cloud and LiDAR point cloud are aligned by clicking the corresponding button in the panel or using Keyboard as input to adjust the extrinsic parameter. When the Radar point cloud and LiDAR point cloud are aligned, the calibration ends, click the save button to save the result.

    Extrinsic ParamsKeyboard_inputExtrinsic ParamsKeyboard_input
    +x degreeq-x degreea
    +y degreew-y degrees
    +z degreee-z degreed
    +x transr-x transf
    +y transt-y transg
    +z transy-z transh

    Intensity Color: LiDAR intensity is recorded as the return strength of a laser beam, partly based on the reflectivity of the object struck by the laser pulse. This button can change the display mode to intensity map display mode. This can help to check if the ground lane lines are aligned.

    deg step t step : These two buttons change the adjustment step for every click or keyboard input.

    point size: Adjust the size of Lidar points in the projection image.

    Reset: Press button to reset all manual adjustment.

    Save Result: If the this button was pressed, the results are stored by default at running directory ~./manual_calib/:

    Extrinsic:
    R:
    0.0121008 -0.999863 -0.0112902
    0.0133341 0.0114512 -0.999846
    0.999838 0.0119484 0.0134707
    t: 0.0134153 -0.352602 -0.575013
    
    ************* json format *************
    Extrinsic:
    [0.0121008,-0.999863,-0.0112902,0.0134153],[0.0133341,0.0114512,-0.999846,-0.352602],[0.999838,0.0119484,0.0134707,-0.575013],[0,0,0,1]
    
    
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值