Turtlebot simulator not working correctly
Hi !
I am using ROS Fuerte on my system running Ubuntu 12.04 . I installed turtlebot simulator using this command: sudo apt-get install ros-fuerte-turtlebot-simulator
Now on running turtlebot simulator, initially the gazebo window was not appearing, but i solved this issue by removing comments in the turtlebot_description/urdf/turtlebot_body.urdf.xacro as explained here , but after un-commenting that file when i run turtle bot simulator, the gazebo window appears but it closes after appearing for 2-3 seconds, and i get this output on terminal:
Warning [RaySensor.cc:206] ranges not constructed yet (zero sized)
Warning [RaySensor.cc:206] ranges not constructed yet (zero sized)
Warning [RaySensor.cc:206] ranges not constructed yet (zero sized)
Warning [RaySensor.cc:206] ranges not constructed yet (zero sized)
Warning [RaySensor.cc:206] ranges not constructed yet (zero sized)
Warning [RaySensor.cc:206] ranges not constructed yet (zero sized)
Warning [RaySensor.cc:206] ranges not constructed yet (zero sized)
Warning [RaySensor.cc:206] ranges not constructed yet (zero sized)
Warning [RaySensor.cc:206] ranges not constructed yet (zero sized)
[1;^C33mWarning [RaySensor.cc:206] ranges not constructed yet (zero sized)
Warning [RaySensor.cc:206] ranges not constructed yet (zero sized)
Any idea, how can i resolve this issue ?
Updated:
There is some issue with the gazebo i guess, only the empty world is loading properly (i.e its gui is visible), but no other world is opening, here is the output of the terminal:
roslaunch gazebo_worlds balcony_world.launch
... logging to /home/usama/.ros/log/9c1e1d52-cff5-11e1-9cf2-74e50bbddf20/roslaunch-ubuntu-8563.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.
started roslaunch server http://ubuntu:43151/
SUMMARY
========
PARAMETERS
* /rosdistro
* /rosversion
* /use_sim_time
NODES
/
gazebo (gazebo/gazebo)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
Exception AttributeError: AttributeError("'_DummyThread' object has no attribute '_Thread__block'",) in <module 'threading' from '/usr/lib/python2.7 /threading.pyc'> ignored
process[gazebo-1]: started with pid [8583]
Gazebo multi-robot simulator, version 1.0.2
Copyright (C) 2011 Nate Koenig, John Hsu, Andrew Howard, and contributors.
Released under the Apache 2 License.
http://gazebosim.org
Warning [parser.cc:332] Gazebo SDF has no gazebo element
Warning [parser.cc:243] parser for sdf version 1.0 failed, trying to parse as old deprecated format
Msg Waiting for master
Msg Connected to gazebo master @ http://localhost:11345
[ INFO] [1342518974.504510723]: waitForService: Service [/gazebo /set_physics_properties] has not been advertised, waiting...
[ INFO] [1342518976.639042941, 0.126000000]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[ INFO] [1342518976.683768376, 3.290000000]: Starting to spin physics dynamic reconfigure node...
There is a slightly different terminal output for another gazebo world:
usama@ubuntu:~$ roslaunch gazebo_worlds cups.launch
... logging to /home/usama/.ros/log/afe47684-cff9-11e1-84d8-74e50bbddf20/roslaunch-ubuntu-10153.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.
started roslaunch server http://ubuntu:37584/
SUMMARY
========
PARAMETERS
* /coffee_cup
* /rosdistro
* /rosversion
* /wine
NODES
/
spawn_coffee_cup (gazebo/spawn_model)
spawn_wine_cup (gazebo/spawn_model)
auto-starting new master
Exception AttributeError ...