Gazebo | Ignition | Community
Ask Your Question

How to convert world contact positions to robot's local coordinate?

asked 2013-01-09 04:06:48 -0600

Daehyung Park gravatar image

I am implementing contact plugin on PR2. I found the contact sensor returns contact positions based on world coordinate.

Since robot can move around and my controller only accepts contact positions based of torsoliftlink coordinate, I need to convert the position from world to local. Is there any method for it?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-01-09 15:37:03 -0600

nkoenig gravatar image

Take the difference between the robot pose and the contact pose.

edit flag offensive delete link more


I found example from ros gazebo bumper plugin. Finally, it works. Thanks.

Daehyung Park gravatar imageDaehyung Park ( 2013-01-13 15:53:10 -0600 )edit
Login/Signup to Answer

Question Tools


Asked: 2013-01-09 04:06:48 -0600

Seen: 641 times

Last updated: Jan 09 '13