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

Rviz fixed frame error

asked 2014-07-17 14:42:51 -0600

JoSo gravatar image

Hi all and thanks for checking this out.

I have made a MoveIT! package using my urdf and went through the Setup Assistant tabs accordingly. After launching my robot I can motion plan and incorporate a scene object to be planned around, but the Global Status is giving me this error. I believe it has to do with the virtual joint set up but I'm not entirely sure.

No tf data. Actual error: Fixed Frame [base_link] does not exist

The base_link is the first link in my robot and the child of the virtual joint. When I add the TF display to Rviz and expand it, it's empty. This is preventing me from using rostopic echo /tf (where, right now, the output is a repeating empty Transform [] ) and also using rosbag record which I would like to use to record some simple paths for playback later.

Can someone tell me if this is in fact a virtual joint error or perhaps somewhere else I need to be looking? I am new to ROS so any links would be appreciated.



edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-07-17 21:49:31 -0600

JoSo gravatar image

The solution for me was to declare both the parent frame and child frame as base_link in the SRDF.

<virtual_joint name="fixed_frame" type="fixed" parent_frame="base_link" child_link="base_link" />

This removed the Global Status error, now saying "OK" and the TF tree is populated! Moving on to bigger and harder things

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-07-17 14:42:51 -0600

Seen: 3,839 times

Last updated: Jul 17 '14