目录:
说明:
步骤:
ros2 launch turtlebot4_ignition_bringup ignition.launch.py
测试雷达:
ros2 topic echo /scan
- ---
- header:
- stamp:
- sec: 172
- nanosec: 816000000
- frame_id: turtlebot4/rplidar_link/rplidar
- angle_min: -3.1415927410125732
- angle_max: 3.1415927410125732
- angle_increment: 0.009832840412855148
- time_increment: 0.0
- scan_time: 0.0
- range_min: 0.164000004529953
- range_max: 12.0
- ranges:
- - 7.365904331207275
- - 3.948739528656006
- - 3.907142400741577
- - 8.883407592773438
- - 8.94767951965332
- - 9.012924194335938
- - 9.079118728637695
- - 9.146242141723633
- - 9.214299201965332
- - 9.82641887664795
- - 9.902118682861328
- - 9.978501319885254
- - 10.055573463439941
- - .inf
- - .inf
- - '...'
- intensities:
- - 0.0
- - 0.0
- - 0.0
- - 0.0
- - 0.0
- - 0.0
- - 0.0
- - 0.0
- - 0.0
- - 0.0
- - 0.0
- - '...'
- ---
ros2 launch turtlebot3_viz view_robot.launch.py
测试相机:
- ros2 topic echo /color/image
- ros2 topic echo /color/
ros2 run rqt_image_view rqt_image_view
ros2 launch turtlebot3_viz view_robot.launch.py