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

finding the position of a block in a map

asked 2019-12-02 07:35:51 -0500

FedeAmad gravatar image

I am running slam gmapping in ros kinetic in a map and I have inserted a block in the file .world with its position. I would like to know the coordinates of the block based on the map created by the robot, I have tried to look for a solution online but I have found nothing. any advice?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-12-02 11:30:48 -0500

Create a gazebo plugin that looks at the position of the block in the world frame and publishes its position on TF or another topic. This assumes your coordinate systems of your gazebo world and your map file are the same, if not, you'll have to rectify that as well.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2019-12-02 07:35:51 -0500

Seen: 124 times

Last updated: Dec 02 '19