rviz2 cannot show LaserScan messages in ROS2 dashing with gazebo
Hi,
I am really frustrated that I have tried for almost one day before I put the question here. I really cannot figure out where is the problem.
I follow the turtlebot3 simulation to create my own gazebo robot, and It can be shown normally in gazebo and I can also tele-operate it. Please see the following picture from gazebo .
But when I open rviz2 and add LaserScan
topic, the status shows OK, but there is no laser scan data shown. And I checked the topic list and topic echo it seems all OK. please see the following pictures.
Hope someone familiar with could help me out, thanks for advance.
Asked by Phymin on 2020-09-22 02:45:08 UTC
Answers
I have finally figured out where the problem is. Just check Unreliable option and the rviz2 can show laser scan points. Please see the picture below:
But I don't know exactly why, hope someone can give further explanation about this
Asked by Phymin on 2020-09-22 03:48:26 UTC
Comments