Enable the Lidar Node
From Waveshare Wiki
JetBot ROS AI Kit Basic Tutorial
- How to Assemble JetBot
- How to Install Jetson Nano Image
- Install Ubuntu Virtual Image
- How to Configure Multi-machine Communication
- Robot Movement Control
- View Node Topics with ROS
- How to Calibrate the Robot Odometer
- How to Enable the Camera Node
- How to Enable the Lidar Node
- JetBot ROS AI Kit Main Page
Step 1: Enable the Lidar Node
- Firstly, you need to power on the lidar and make it rotate.
- Run the following commands to enable the lidar node on the robot.
roslaunch jetbot_pro lidar.launch
- If the node can not be enabled, please press the RESET key on the expansion board, and reboot it.
- If you want to run Is/dev, please check whether the expansion board is connected to Jetson Nano,and whether or not the ttyACM0 and ttyACM11 device is found. [ttyACM0 is for micro-controller communicationn, and ttyACM1 is for lidar communication.]
ls /dev
Step 2: Check the data and add the component
- View radar data through the RVIZ tool in a virtual machine. Please enter the following command to open the RVIZ graphical tool interface.
rosrun rviz rviz
- Click "Add" to add the LaserScan component, select the /scan topic for the Topic, and select Laser_frame for the Fixed Frame to see the radar data. The red points in the image are the points scanned by the radar.