lgsvl / simulator

A ROS/ROS2 Multi-robot Simulator for Autonomous Vehicles
Other
2.27k stars 780 forks source link

I cannot visualize sensor data from the simulator in rviz2 #1480

Open NobushigeHaraki opened 3 years ago

NobushigeHaraki commented 3 years ago

I set it up according to the [documentation(https://www.svlsimulator.com/docs/system-under-test/autoware-auto-instructions/),] but I cannot visualize sensor data from the simulator in rviz2.

The SVL simulator is working and can also connect to lgsvl_bridge("Bridge Status: Connected" in SVL simulator). RViz starts, but receives "0" messages and does not display point cloud.

Do I need settings not listed in the documentation?

hadiTab commented 3 years ago

@NobushigeHaraki are there any errors in rviz under the pointcloud2 message in the sidebar? Can you echo the topic in a terminal and see if it is publishing?

NobushigeHaraki commented 3 years ago

I got the error "Error subscribing: Empty topic name" in RViz. When I typed "/ lidar_front / points_raw" in Topic, the error disappeared. Also, as a result of running "ros2 topic echo / lidar_front / points_raw" in the terminal, the message "WARNING: topic [/ lidar_front / points_raw] does not appear to be published yet" was displayed.