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

gazebo world frame

asked 2022-09-28 23:11:59 -0500

wugeshenhuaking gravatar image

updated 2022-09-29 02:45:21 -0500

ravijoshi gravatar image

When I used the gazebo simulation of turbobot3, I encountered a thing that confused me. I used the gmapping algorithm to build a grid map. I found that the location of the odom and map coordinate systems was not in the initial position of the robot. In principle, shouldn't the odom and map coordinate systems be generated at the initial position of the robot?

The following picture describes my problem:

image description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-09-29 04:21:33 -0500

ljaniec gravatar image

Perfect odometry with zero slip would yield no difference between odometry and map coordinates, provided odometry was initialized to be correct with the map when the robot was started. When robot comes on it assumes the odometry starts at (0, 0, 0) and (0, 0, 0, 0) but that isn't where the robot really is, usually.

The correction expression you're looking for is the map -> odom transform. It is the correction vectors between map and odom frames.

Related questions with answers:

Good tutorial:

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2022-09-28 23:11:59 -0500

Seen: 49 times

Last updated: Sep 29 '22