Hector Slam and real position of the robot

asked 2021-01-21 09:36:05 -0600

sarah72 gravatar image

Hello everybody,

I am currently using the Hector_slam package on ROS. To get feedback on my position I use the topic: slam_out_pose However, the position returned does not match with the real position of my robot.

Please, how can I obtain this position on the different axes ? Thank you

edit retag flag offensive close merge delete

Comments

Are you sure that you are not comparing positions in two different frames?

skpro19 gravatar image skpro19  ( 2021-01-21 18:03:02 -0600 )edit

Hello Thank you for your reply. By the way, I am newbie in ROS and I don't know everything yet. In fact, what I'm looking for, is to determine the position of the robot throughout its journey thanks to a Lidar. I thought I could do it by using the Hector_slam package and the topic: slam_out_pose. May be its wrong .. Could you give me some tips please? Thank you

sarah72 gravatar image sarah72  ( 2021-01-22 02:26:31 -0600 )edit

How do you know that the position returned doesn't match the real position of your robot ?

skpro19 gravatar image skpro19  ( 2021-01-22 16:48:02 -0600 )edit

Because I measured it. I measured the distance between the robot's current position and its initial position

sarah72 gravatar image sarah72  ( 2021-01-24 09:39:16 -0600 )edit