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

base_link to world transform

asked 2012-02-13 10:56:38 -0500

seanarm gravatar image

Greetings,

In a recent conversion from diamondback to electric, I noticed that my tf state publisher had stopped converting from 'base_link' frame to 'world' frame. With no changes in my own tf publisher or robot model between ROS versions, I can only assume something changed in some ROS package(s). Upon further inspection, the geometry stack changed quite a bit, with kdl moving out completely. I can't seem to pin down the exact change that's causing the problem. Can anyone help me resolve this problem and get back my 'world' frame?

Thanks, Sean

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-02-13 12:09:57 -0500

seanarm gravatar image

In my state publisher, where I publish my other transforms with RobotStatePublisher::publishTransforms(...), I had to also add RobotStatePublisher::publishFixedTransforms(). Between diamondback and electric, RobotStatePublisher::publishTransforms(...) began to only publish transforms for moving joints. See the functions at line 78 and line 100 in robot_state_publisher.cpp (ignore the incorrect print statement for the second function). In order to publish fixed joint transforms, you must call RobotStatePublisher::publishFixedTransforms().

This problem is also referenced in this post: Why does robot_state_publisher skip publishing fixed joints.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-02-13 10:56:38 -0500

Seen: 930 times

Last updated: Feb 13 '12