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

Gmapping, How the initial frames assumed ?

asked 2022-05-22 08:45:26 -0600

Zuhair95 gravatar image

updated 2022-05-22 08:50:29 -0600

Hi all, In usage of Gmapping with turtlebot3 simulation procedure.

In Rviz after startup the whole system,

How did the /map or /odom frame assumed to be there (in the center of the pre-estimated map )? In other word, how the robot estimated that the /footprint frame is far aways from the map frame with specific transformation values, however the gmapping just start to run ?

https://postimg.cc/SXX8xndG

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2022-05-22 17:37:20 -0600

Zuhair95 gravatar image

This issue is only related with simulation processes.

Because : When I implement Gmapping on Turtlebot3, everything is okay with the initialization of frames values:

/map is fixed (0,0,0)

/odom is begin as (0,0,0) and drift due to encoder uncertainties

/Base_link (/footprint) represent the position of the robot relative to /odom and /map respectively.

So in practical process everything is alright.

edit flag offensive delete link more

Comments

Please add additional information by editing your post, not by adding it as an answer

Joe28965 gravatar image Joe28965  ( 2022-05-24 03:19:03 -0600 )edit
0

answered 2022-05-24 03:22:28 -0600

Joe28965 gravatar image

It's the origin of the world. In that turtlebot3_world the origin is in that center pillar.

I don't know if there is a setting to use the position of the robot as its origin (as done when mapping in real life).

edit flag offensive delete link more

Comments

first, check the turtlebot3 odometry in the gazebo. for example, if you move the robot 1 meter the odometry should show the same value. sometimes parameters in the differential driver plugin need to be checked.

Morteza7 gravatar image Morteza7  ( 2022-05-25 00:18:41 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2022-05-22 08:45:26 -0600

Seen: 89 times

Last updated: May 24 '22