Tutorial of using LS01B Radium Smart Radar to replace Silan Radar under ROS

Under ROS radium God with intelligent LS01B radar replacement tutorial think Lan radar
1. Let's open the User radium God intelligence provided Insert picture description here
under the pull ls01b_v2 file into the IPC or raspberry pie catkin_ws / src directory, I use here It is pulled in by Connetc to Server.
Insert picture description here
2. Open the ls01b_v2/launch/ls01b_v2.launch file and copy the content inside.
Insert picture description here
3. Replace the copied content with the original launch file of Silan radar. My directory here is catkin_ws/ src/rikirobot_project/rikirobot/launch/rplidar.launch, open the rplidar file, except

  <node pkg="tf" type="static_transform_publisher" name="base_link_to_laser" args="0.04 0 0.18 0 0 0  /base_link /laser  100"/>

Replace all other lines in this line, and
Insert picture description here
modify this line in the new rplidar.launch file as shown in Figure 4.

<param name="frame_id" value="laser_link"/>     #激光坐标

For (I am here and after the modification, it turned out to be laser_link)

<param name="frame_id" value="laser"/>     #激光坐标

5. Return to the workspace and compile it with the catkin_make command.

6. Open rviz and change the Fixed Frame under Global Options to laser, as shown in Figure
Insert picture description here
7. The radar is replaced, thank you for reading

Guess you like

Origin blog.csdn.net/weixin_41407439/article/details/102477440