-
Hi everyone, I realized that the occupancy grid map is not placed at base_link but at os_lidar (the link corresponding to the lidar): The occupancy_grid_map_method is selected as pointcloud_based_occupancy_grid_map and scan_origin_frame param is set to os_lidar in pointcloud_based_occupancy_grid_map.param.yaml:
With this configuration I would expect that the grid map were placed at base_link frame. However, it is shown at the height of the os_lidar frame. Any suggestions? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I think a related topic was discussing here: |
Beta Was this translation helpful? Give feedback.
-
Thank you for your report. I will investigate it.
This seems weird. So, It should be in
Here shows my sample output and ogm visualization with sample rosbag.
I think it is the right behavior. |
Beta Was this translation helpful? Give feedback.
That's right! Now I understood what happened.
robot_pose = utils::getPose(input_raw_msg->header, *tf2_, map_frame_); // upper line will cause robot pose described in input_raw_msg frame
So I think the correspondent part should be fixed like:
Could you try and check it?
I created PR.
autowarefoundation/autoware.universe#6485