ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

For frame [velodyne]: Frame [velodyne] does not exist

asked 2021-12-10 22:33:36 -0500

changhao gravatar image

updated 2021-12-10 22:34:42 -0500

Hi, I was trying to run the demo at the autoware.ai github.

After I applied the my_map.launch, I still cannot see the pointcloud map in RVIZ.

The RVIZ is shown as follows:

oTtEb8.png

The points_raw had the error: For frame [velodyne]: Frame [velodyne] does not exist

I'm using ros melodic and autoware 1.14.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-12-10 23:28:14 -0500

Josh Whitley gravatar image

The frame velodyne would generally be a frame for a lidar - specifically a Velodyne lidar. This is the "frame of reference" in which the lidar data are published (the frame_id field of the PointCloud2 messages). In order for RViz to visualize data from your lidar while also showing the map, there must be a transform (or multiple transforms, in this case) to get from the frame of the lidar to the map frame. This error is telling you that the frame named velodyne is not connected to the frame in which you're viewing data in RViz (you can find this by expanding "Global Options" at the top of the left frame) - I'm assuming map. These transforms can be published individually by instances of the static_transform_publisher node but are usually combined into a URDF file which describes multiple frames and the relationships between them. This URDF file can then be loaded by a robot_state_publisher node and will automatically publish all of the described transforms. In general, a lidar fixed to a vehicle would have a transform to map which would consist of: velodyne -> base_link -> odom -> map. For more information, see https://www.ros.org/reps/rep-0105.html.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2021-12-10 22:33:36 -0500

Seen: 1,196 times

Last updated: Dec 10 '21