Is missing a transform from lidar_front -> base_link?

asked 2020-04-12 10:39:43 -0600

tleyden2 gravatar image

I have + LGSVL simulator running based on these instructions.

When trying to get the lidar data showing in rviz2 based on the Running the Autoware.Auto 3D perception stack documentation and launching rviz2 with the autoware_auto_examples/share/autoware_auto_examples/rviz2/autoware.rviz parameter, I needed to run this additional step to get the lidar point cloud to show in rviz2:

$ ros2 run tf2_ros static_transform_publisher 1.42849 -0.017811 1.4802 0.0215759 0.125004 0.111496 lidar_front base_link

And I also had to change the "fixed_frame" to lidar_front:

image description

Without that step, I was getting this error in rviz2:

image description

Should this transform from base_link -> lidar_front coordinates already be published by something in the stack itself rather than having to run it manually? Or am I not running some node that I should be? (note that running the ros2 run velodyne_node velodyne_cloud_node_exe didn't seem to make any difference here)

edit retag flag offensive close merge delete


Will this recent change improve the situation?

tleyden2 gravatar image tleyden2  ( 2020-04-12 15:02:46 -0600 )edit