Ask Your Question

How does `hector_mapping` build the coordinate system?

asked 2019-04-09 07:01:53 -0500

anonymous user


updated 2019-04-09 07:03:03 -0500

Now I want to know the localization accuracy of hector_mapping, so I need to measure the actual position of the robot and compare it with the position of hector_mapping publish on slam_out_pose. As far as I know, after the cartographer starts, the direction in which the robot advances is defined as the positive direction of the x-axis, and then based on this coordinate system, the position information of the robot is output. Is hector_mapping based on such a mechanism to establish a coordinate system? If not, what is the `hector_mapping based on to establish the coordinate system?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-04-09 18:14:57 -0500

Yes, hector_mapping uses the standard ROS coordinate frame convention (see REP 103). It starts mapping at the zero pose (translations zero and identity quaternion) with x pointing forwards, y left, z up and estimates the robot pose relative to that.

edit flag offensive delete link more


Thank you,sir! After solving this problem, I have a new question: How to test the accuracy of hector_mapping's localization?

anonymous userAnonymous ( 2019-04-09 21:15:40 -0500 )edit

This depends on the application. A common way of testing a SLAM algorithms accuracy is testing loop closure performance.

Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2019-05-06 14:09:35 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2019-04-09 07:01:53 -0500

Seen: 86 times

Last updated: Apr 09 '19