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

transformation between a landmark and robot?

asked 2013-07-23 20:27:53 -0500

madmax gravatar image

I am trying to get the robots position by detecting a landmark with a laser. I want to do a localization through laser markers to have another option beside odometry and laser scan matching. The coordinates of the landmark are known in my base_laser_link frame and in my global map frame.

I tried to manually calculate the transformations, but it only works on paper ;)
When I try it in ROS, I have a correct position only for a few specific orientation angles. When I turn too much, the calculated robot position drifts away.

Could I place a static tf on the map for a landmark? map -> landmark So ROS does the transformation? Or does this approach take my position estimate into account? So I would need a transformation from landmark -> base_laser_link and not landmark -> map -> base_link -> base_laser_link

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-07-24 04:29:11 -0500

tfoote gravatar image

If you are looking for long term storage recording the position or transform from the map is probably the right thing to do. For short term interaction you could use the Advanced tf API with a fixed_frame of "map".

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-07-23 20:27:53 -0500

Seen: 332 times

Last updated: Jul 24 '13