rviz2 does not display a point cloud while using Autoware.Auto and LGSVL Simulator

asked 2020-08-18 06:46:07 -0500

LennartL gravatar image

updated 2020-08-18 06:49:52 -0500

I am trying to run Autoware.Auto and the LGSVL Simulator together. I found two slightly contradicting tutorials. 1) from Autoware.Auto 2) from LGSVL Simultaor 1) does not include an explanation on how to use rviz2. But it does include some helpful explanations and adaptions of 2) I can run the simulator according to both tutorials. The different implementations of the ros2 bridge seam to work as I get a list of topics while either using ros2 nativebridge or the __webbridge__. I tried different sensor.json files. One that is given in the Autoware.Auto root directory and the other one from tutorial 2. https://www.lgsvlsimulator.com/docs/a... While using tutorial no.1 is used rviz2 to start rviz. For tutorial 2) I used rviz2 -d /home/"${USER}"/AutowareAuto/install/autoware_auto_examples/share/autoware_auto_examples/rviz2/autoware.rviz In both situations, there seems to be a tf publisher missing which connects [lidar_front] and [base_link], as seen in the picture below:

image description

Any help or guidance is appreciated.

edit retag flag offensive close merge delete

Comments

Is there a way in ros2 to see if the tf_tree is closed? Maybe the pcl from /lidar_front/points_raw is just in an unreachable frame from base_link

GeorgNo gravatar image GeorgNo  ( 2020-08-20 10:25:24 -0500 )edit

Have you tried to set Fixed Frame to lidar_front?

George123 gravatar image George123  ( 2021-05-29 03:40:59 -0500 )edit