no transform from axis to odom

asked 2020-03-22 11:47:20 -0500

Hardik Rathod gravatar image

updated 2022-03-20 10:01:44 -0500

lucasw gravatar image

OS: Ubuntu, ROS version: Melodic, In the tutorial : http://wiki.ros.org/urdf/Tutorials/Us...

I came across an error in rviz -> RobotModel : no transform from axis to odom.

I launched the rviz and selected fixed frame in the global options. I have also added RobotModel and tf display as tutorial suggests. What could be the possible reasons? Any help is appreciated.

Thanks

edit retag flag offensive close merge delete

Comments

Hi @Hardik Rathod,

Did you launch the node provided with the tutorial.

The URDF alone does not have the odom frame, this is becasue the node is publising the odom->axis transform. Hence, launching the node will probably fix your problem.

Weasfas gravatar image Weasfas  ( 2020-03-24 08:29:01 -0500 )edit

Yes, definitely I launched that node.

Hardik Rathod gravatar image Hardik Rathod  ( 2020-04-12 07:37:16 -0500 )edit

Well, at this point it will be very helpful if you provide the tf_tree and ros_graph to see what is happening. You can also execute the roswtf command to check for any inconsistency in your ROS enviroment.

Besides that, it will be also very helpful if you can provide your URDF and launch files, to check if all is correct. That is because it is nearly impossible to see what is happening blindly.

Weasfas gravatar image Weasfas  ( 2020-04-12 10:37:56 -0500 )edit

Hi, I am really sorry that I did not reply on time. I really apologise for not responding for long. I managed to solve this error, beccause in my URDF file there was spelling mistake for odom frame static property.

Hardik Rathod gravatar image Hardik Rathod  ( 2020-05-23 07:44:34 -0500 )edit

@Hardik Rathod, do not worry =).

Since you have found a proper solution to your problem you can now add it as answer for future users. Cheers.

Weasfas gravatar image Weasfas  ( 2020-05-24 06:11:33 -0500 )edit