ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
@Tones answered this same issue over at this question.
Basically, the API appears to have changed in the tf::Quaternion constructor with RPY as parameters to YPR as parameters. So the broadcaster is broadcasting the wrong rotation in its transform.
You shouldn't use that constructor anymore, though, as it's been deprecated. Use something else from the API to set your rotation, and make sure the order is right, and it should work fine.