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

How to setup tf for real robot? [closed]

asked 2016-03-22 13:23:48 -0500

Kishore Kumar gravatar image

I have done a complete navigation stack simulation with my robot model using URDF and gazebo, where i have added tf & jointstate plugin in urdf file. Now I have assembled my robot with the required hardware (actuators and sensors), so how to setup tf for my real robot.

Please post the steps involved and direct me to the resources to learn or some existing packages.

PS: I have done tf tutorials in ROS navigation stack but i cant figure out how to do it for complete robot mobile robot

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Icehawk101
close date 2016-11-03 08:47:05.078653

Comments

Closing this as it has been answered

Icehawk101 gravatar image Icehawk101  ( 2016-11-03 08:46:55 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-03-22 15:21:26 -0500

updated 2016-08-29 07:28:59 -0500

You need to look at the TF Tutorials. #1 for both C++ and Python is setting up a transform broadcaster.

[EDIT]

Been a few months :P. You can use the URDF model to publish the transforms. Using the <joint> tag allows you to enter the parent ID, child ID, and origin transforms between links.

If you want to make a quick tranform tree though, here is the transform broadcaster I made for a robot while working on my MASc. Making the transform tree doesn't give you a visual, but it does provide the transforms between parts.

edit flag offensive delete link more

Comments

Should i build the broadcaster code for my complete robot or i can use my URDF to publish the tf?

Kishore Kumar gravatar image Kishore Kumar  ( 2016-03-23 15:51:49 -0500 )edit

I've always built the tf broadcaster for my robots, so I am not sure if the URDF model can publish the tf or not

Icehawk101 gravatar image Icehawk101  ( 2016-03-23 17:11:54 -0500 )edit

Can you pls share a tf node of a robot. The tutorials have only the broadcaster and listener.

Kishore Kumar gravatar image Kishore Kumar  ( 2016-08-27 16:37:16 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-03-22 13:23:48 -0500

Seen: 1,534 times

Last updated: Aug 29 '16