Robotics StackExchange | Archived questions

Why Part of the robot is under the map in Rviz ?

Hi

I have spawned the Jackal Robot in Rviz. But part of the wheels under the map ( My z value is 0). Did you faced before with a kind of problem ?

thanks

image description

Asked by Developer on 2018-07-04 16:55:43 UTC

Comments

Your map frame is probably defined at this height. can you provide the output of this cmd cd /var/tmp && rosrun tf view_frames && evince frames.pdf &. Wich launfile are you using?

Asked by GuillaumeB on 2018-07-04 18:24:45 UTC

My launch files are very basic. How can I change the height of the map ?

Asked by Developer on 2018-07-05 03:59:21 UTC

Display the TF in rviz and read http://wiki.ros.org/amcl#Transforms. The map (so the map fame) is probably at the same height that your base_link. I would suggest to change the position of the base link or, add another link (child of base_link) that is at the lowest height of your robot and ...

Asked by GuillaumeB on 2018-07-05 04:14:55 UTC

.. use this frame as your base_frame_id in amcl parameters.

Asked by GuillaumeB on 2018-07-05 04:15:27 UTC

I will try it. Thanks

Asked by Developer on 2018-07-05 05:34:25 UTC

Does it work ?

Asked by akshay bankar on 2021-05-28 10:55:37 UTC

yes it will work

Asked by tom_3997 on 2023-04-06 06:33:59 UTC

Answers