Turtlebot Bringup
So I am going back through the steps of the bringup, since the demos are not working, and I try
hyness@turtlebot:~$ roslaunch turtlebot_bringup minimal.launch
... logging to /home/hyness/.ros/log/e48df4ec-e303-11e1-b4b3-94dbc99cb3ba/roslaunch-turtlebot-17513.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
Unable to contact my own server at [http://192.168.1.100:56965/].
This usually means that the network is not configured properly.
A common cause is that the machine cannot ping itself. Please check
for errors by running:
ping 192.168.1.100
For more tips, please see
http://www.ros.org/wiki/ROS/NetworkSetup
hyness@turtlebot:~$
It works fine when I ping that IP; what is the problem here? how do I fix it? Thanks!
hyness@turtlebot:~$ env | grep ROS
ROS_ROOT=/opt/ros/fuerte/share/ros
ROS_PACKAGE_PATH=/opt/ros/fuerte/share:/opt/ros/fuerte/stacks
ROSLISP_PACKAGE_DIRECTORY=/opt/ros/fuerte/share/common-lisp/ros
ROS_MASTER_URI=http://192.168.1.101:11311
ROS_DISTRO=fuerte
ROS_IP=192.168.1.101
ROS_ETC_DIR=/opt/ros/fuerte/etc/ros
thanks, but every time I run it it shows different ports, and I already have the ROS_MASTER_URI set with :11311, so thats not the problem
Originally I was using ROS_HOSTNAME, and it wasnt working, so now I am using ROS_IP instead; the error above was using ROS_IP. I have gone through the network settings, and am able to get all of the tests at the bottom working; not sure what is going wrong.
one command I usually run before doing any launch is "env | grep ROS" It lets me see all the ROS settings at a glance to confirm I've got them all correct, because you never know if you've done some export previously that you have forgotten about.
so from your environment variables, you can see your master uri and ip do not match your computer's ip (if it is indeed 192.168.1.100). it would be good to double check with "ifconfig". Answers by Lorenz and Rydel should work