BH
I have installed the gazebo packages but unfortunately, when I entered the roslaunch turtlebot_gazebo turtlebot_world.launch command, I got this error:
[gazebo-2] process has died [pid 10786, exit code 2, cmd /opt/ros/indigo/lib/gazebo_ros/gzserver -e ode /opt/ros/indigo/share/turtlebot_gazebo/worlds/playground.world __name:=gazebo __log:=/home/hayim/.ros/log/23a0dea8-e165-11e4-9903-2cd05a3428bb/gazebo-2.log].
log file: /home/hayim/.ros/log/23a0dea8-e165-11e4-9903-2cd05a3428bb/gazebo-2*.log
[gazebo_gui-3] process has died [pid 10792, exit code 2, cmd /opt/ros/indigo/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/hayim/.ros/log/23a0dea8-e165-11e4-9903-2cd05a3428bb/gazebo_gui-3.log].
log file: /home/hayim/.ros/log/23a0dea8-e165-11e4-9903-2cd05a3428bb/gazebo_gui-3*.log
I must mention that all the other launchers in the gazebo tutorial run fine.
Seeking for some advice,
Haz88
----
Update-1
BH
I typed the env | grep TURTLEBOT command and got the following output :
TURTLEBOT_STAGE_MAP_FILE=/opt/ros/indigo/share/turtlebot_stage/maps/maze.yaml
TURTLEBOT_3D_SENSOR=asus_xtion_pro
TURTLEBOT_STACKS=hexagons
TURTLEBOT_GAZEBO_WORLD_FILE=/opt/ros/indigo/share/turtlebot_gazebo/worlds/playground.world
TURTLEBOT_SIMULATION=false
TURTLEBOT_GAZEBO_MAP_FILE=/opt/ros/indigo/share/turtlebot_gazebo/maps/playground.yaml
TURTLEBOT_RAPP_PACKAGE_WHITELIST=[rocon_apps, turtlebot_rapps]
TURTLEBOT_STDR_MAP_FILE=/opt/ros/indigo/share/turtlebot_stdr/maps/sparse_obstacles.yaml
TURTLEBOT_SERIAL_PORT=/dev/kobuki
TURTLEBOT_BASE=kobuki
TURTLEBOT_RAPP_PACKAGE_BLACKLIST=[]
TURTLEBOT_TYPE=turtlebot
TURTLEBOT_STAGE_WORLD_FILE=/opt/ros/indigo/share/turtlebot_stage/maps/stage/maze.world
TURTLEBOT_BATTERY=/sys/class/power_supply/BAT0
TURTLEBOT_MAP_FILE=/opt/ros/indigo/share/turtlebot_navigation/maps/willow-2010-02-18-0.10.yaml
TURTLEBOT_INTERACTIONS_LIST=[turtlebot_bringup/admin.interactions, turtlebot_bringup/documentation.interactions, turtlebot_bringup/pairing.interactions, turtlebot_bringup/visualisation.interactions]
TURTLEBOT_NAME=turtlebot
If I was to use export TURTLEBOT_GAZEBO_WORLD_FILE=/opt/ros/indigo/share/turtlebot_gazebo/worlds/empty.world instead ,as empty_world is the world included in the turtlebot_world.launch, then I tried that and it didn't solve the problem.
By the way, I opened the indigo Turtlebot Installation tutorial and installed the additional turtlebot packages, which I have installed already some of them. When I got to the workspace section and typed the catkin_make command I got the following error:
compilation terminated.
In file included from /usr/include/stdlib.h:314:0,
from /opt/ros/indigo/include/ros/platform.h:53,
from /opt/ros/indigo/include/ros/time.h:53,
from /opt/ros/indigo/include/ros/ros.h:38,
from /home/hayim/rocon/src/rocon_multimaster/experiments/rocon_unreliable_experiments/src/listener_unreliable.cpp:15:
/usr/include/x86_64-linux-gnu/sys/types.h:222:28: fatal error: sys/sysmacros.h: No such file or directory
# include
Sorry for this lengthily post but I really need a hand here.
↧