Ask Your Question
1

No transform from [base_link] to [/map]

asked 2011-07-28 16:28:22 -0500

Vinipsmaker gravatar image Vinipsmaker
13 3 3 6

I started to create my URDF robot model, using ros tutorials as reference. But when I try to visualize the model using rviz, an error happens:

.Global Options

.Global Status: warning + Fixed frame: No tf data. Actual error: Fixed Frame [/map] does not exist

  1. Grid (Grid)

  2. Robot Model (Robot Model):

  3. Status: Error
  4. base_link: No transform from [base_link] to [/map]

What am I missing here?

edit retag flag offensive close delete

2 Answers

Sort by ยป oldest newest most voted
4

answered 2011-07-28 17:06:39 -0500

Asomerville gravatar image Asomerville
2071 47 73 110
http://www.resquared.com/

updated 2011-07-29 09:44:44 -0500

I may not be considering this correctly, but it may be as simple as changing your "fixed frame" under ".Global Options" to "/", "/world", or some fixed frame that you do have a transform for. "/base_link"

edit flag offensive delete publish link more

Comments

1
According to the error message, I guess the fixed frame should be /base_link. Lorenz ( 2011-07-29 01:07:07 -0500 )edit
3

answered 2011-07-29 02:52:50 -0500

Miguel Prada gravatar image Miguel Prada flag of Spain
721 11 18 27

The rviz fixed frame is the frame that will act as the origin of coordinates on rviz. You can use whichever frame you want, as long as transforms exist between this frame and the rest of the frames published (e.g. robot frames: base_link, laser, etc.).

You've set the rviz fixed frame to /map, which is the frame that's usually used for navigation, but no node is publishing the transform between the map frame and the base_link frame on your robot. You should publish this transform if you really need to set /map as the fixed frame, or either change the fixed frame to some of the frames defined on your robot. This last option is the quickest if you only need to visualize the robot model.

edit flag offensive delete publish link more

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2011-07-28 16:28:22 -0500

Seen: 1,757 times

Last updated: Apr 26 '12