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

How do we initialize a "base_link" frame

asked 2018-07-26 16:03:48 -0600

Kolohe113 gravatar image

When we run roslaunch turtlebot_bringup minimal.launch, and look at rosrun tf viewframes, we get many frames which includes "base_link". Now I am trying a new setup that does not include the turtlebot. I need "base_link" for a node called Laser_geometry otherwise I will have the following error:

"base_link" passed to lookupTransform argument target_frame does not exist.

ROS newb here, any help will be appreciated. Thank you

edit retag flag offensive close merge delete

Comments

I suggest going through the urdf and tf tutorials

jayess gravatar image jayess  ( 2018-07-26 16:47:12 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-07-26 17:21:02 -0600

You can do a couple things. You can make a node and use the TF broadcaster in order to create and display information about the frame.

Alternatively, you can generate a custom URDF file of your robot and specify the frames you need. Then, use the robot state publisher node to load the URDF and it will create the frames in TF for you.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2018-07-26 16:03:48 -0600

Seen: 497 times

Last updated: Jul 26 '18