Ask Your Question
7

Rviz: fixed frame [world] does not exist

asked 2014-10-26 04:45:58 -0600

JacoPisa gravatar image

Hi everybody, i'm working on Rviz, after opening it:

roscore
rosrun rviz rviz

and open a configuration:

rviz_config.rviz

that the instuction of SVO gives me

it give me an errore on the fixed frame:

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

and i cannot display nothing on my grid and cannot change my markers that doesn't work on image... i'm new on rviz, did someone know how solve the problem?? cause yesterday was working well.... for more precision, i'm working on the svo instruction, with the video from the bag.

thanks

edit retag flag offensive close merge delete

Comments

1

now it give me error when i load the default configuration too... it gives me an error frame that say "the map doesn't exist" and i don't know how to solve...

JacoPisa gravatar imageJacoPisa ( 2014-10-28 08:59:50 -0600 )edit

4 Answers

Sort by ยป oldest newest most voted
4

answered 2014-12-02 07:49:29 -0600

William gravatar image

The issue is that you do not have a world frame in your /tf tree. As @forinkzan suggested you may need to run a SLAM or localization node which provide this mapping from world -> the robot's base, usually base_link or base_footprint.

If you just want to visualize stuff you can click on the drop down for the fixed frame and select some other frame to visualize in. The available ones will be listed in the drop down.

edit flag offensive delete link more

Comments

1

What if there is not drop down menu? I am running a SLAM package with the same issue and I get the data to come into the point cloud topic. However, odometery fails with the error (Fixed Frame [velodyne] does not exist.

Gordon gravatar imageGordon ( 2018-07-10 16:01:17 -0600 )edit
20

answered 2016-04-24 08:01:51 -0600

user23fj239 gravatar image

updated 2016-07-07 02:43:21 -0600

I would like to extend jaco answer as this is an easy solution to a struggle lot of people, including myself run into when starting rosrun --debug rviz rviz (debug for verbose)

The solution is having a publisher for the fixed frame attached to the grid that describes your frame relative to it. This means using the quaternion/euler-angles rviz can transform the coordinate system from the fixed one into your frame. This is sets up a publisher that tells rviz where to put the fixed world frame.

rosrun tf static_transform_publisher 0 0 0 0 0 0 1 map my_frame 10

The one is necessary as its the quaternion identity 0 0 0 1.

The doc says this:
static_transform_publisher x y z qx qy qz qw frame_id child_frame_id period_in_ms

or in eulers as jaco did
static_transform_publisher x y z yaw pitch roll frame_id child_frame_id period_in_ms

having this publisher running the global status of the fixed frame is known and the Fixed Frame No tf data. Actual error: Fixed Frame [map] does not exist disappears.

edit flag offensive delete link more

Comments

I agree that your solution can solve the issue when run the rviz through roscore. However, if I use the roslaunch file to set the tf node and the rvize node, the "No tf data. Actual error: Fixed Frame [map] does not exist" still exists. Any suggestions?

bryanby gravatar imagebryanby ( 2017-07-10 15:43:25 -0600 )edit
2

answered 2015-01-10 03:19:40 -0600

JacoPisa gravatar image

updated 2015-01-15 02:28:22 -0600

i've found that code:

rosrun tf static_transform_publisher 0.0 0.0 0.0 0.0 0.0 0.0 map my_frame 100

it work, by the way, i have to open rviz after starting the svo node, unless it not visualize nothing on the map, and can visualize only the camera image.

edit flag offensive delete link more
0

answered 2014-11-30 18:59:26 -0600

forinkzan gravatar image

try rosrun gmapping slam_gmapping ;and make sure you already have a gmapping package .or some other slam package.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

3 followers

Stats

Asked: 2014-10-26 04:45:58 -0600

Seen: 61,483 times

Last updated: Jul 07 '16