Ask Your Question
0

When run rbx1_nav, and rviz :fixed frame :fixed frame [map] do not exist

asked 2016-12-14 21:12:11 -0600

jimmyjiao gravatar image

updated 2016-12-15 02:14:47 -0600

gvdhoorn gravatar image

Hi,everyone. I install ros-by-exanple-indigo code on my computer.And I prepare to test fake robot simulator.However,Once I run the .launch file there will be a mistake in rviz.See follow.

run command:

roscore

and

roslaunch rbx1_bringup fake_turtlebot.launch

Then:

rosrun rviz rviz -d 'rospack find rbx1_nav' /sim.rviz

then there's a mistake in rviz,

Global Status :error fixed frame :fixed frame [map] do not exist

(the node works fine, as I publish the command to it and it can show it moves from the command line screen. So there should be some problems with the rviz I guess.)

What direction should I go?

Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2016-12-14 21:20:04 -0600

jimmyjiao gravatar image

Self-answering again...: Found this tool is quite useful: roswtf. It tells me that my ROS_HOSTNAME is not set correctly. I just changed my IP and my hostname to this machine, so that's the reason.

Suggestion would be:

change your IP address in /etc/hosts and /etc/network/interfaces. And make sure in the ~/.bashrc your IP address is correct. For a single machine, suggest your IP address is set to 127.0.0.1.

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

1 follower

Stats

Asked: 2016-12-14 21:12:11 -0600

Seen: 175 times

Last updated: Dec 15 '16