Gazebo | Ignition | Community
Ask Your Question
0

Computing transforms in a Gazebo plugin

asked 2015-06-30 15:38:25 -0500

mikepurvis gravatar image

updated 2015-07-02 10:29:44 -0500

I have a plugin, from which I'd like to modify some link parameters based on the position of the link relative to another link. What's the easiest way to get this information? My normal ROS instinct is to reach for tf2, but then I'm dependent on a bunch of external stuff which I really don't want to be, including robotstatepublisher.

So far, I'm just grabbing the GetWorldCoGPose for each link and subtracting. Is there a more elegant way to do this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-07-02 10:53:23 -0500

nkoenig gravatar image

Currently there is not a more elegant way. We are working on a form of tf for Gazebo, but it won't be available until gazebo7.

edit flag offensive delete link more

Comments

Okay, cool. So in the short term, subtracting world poses is a reasonable workaround?

mikepurvis gravatar imagemikepurvis ( 2015-07-02 10:55:54 -0500 )edit

Question Tools

Stats

Asked: 2015-06-30 15:38:25 -0500

Seen: 401 times

Last updated: Jul 02 '15