Ask Your Question
0

finding the position of a block in a map

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

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 -0600

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

Your Answer

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

Add Answer

Question Tools

Stats

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

Seen: 16 times

Last updated: Dec 02