Robotics StackExchange | Archived questions

Gazebo crashes in Noetic after initial successful startup

I'm following a course by Anis Kouba for ROS and I've installed everything properly. On a step, I executed this command to start Turtlebot3 teleop: roslaunch turtlebot3_teleop turtlebot3_teleop_key.launch. Then I enter the command in another terminal window to launch Gazebo: roslaunch turtlebot3_gazebo turtlebot3_empty_world.launch. I'm using Gazebo 11

Initially, it shows an affirmative result, and then gives error messages as follows:

    process[gazebo-1]: started with pid [10790]
    process[gazebo_gui-2]: started with pid [10795]
    process[spawn_urdf-3]: started with pid [10800]
    /opt/ros/noetic/lib/gazebo_ros/gzserver: 19: export: ROS/catkin_ws/devel/lib:/opt/ros/noetic/lib:/usr/lib/x86_64-linux-gnu/gazebo-11/plugins:: bad variable name
    /opt/ros/noetic/lib/gazebo_ros/gzclient: 19: export: ROS/catkin_ws/devel/lib:/opt/ros/noetic/lib:/usr/lib/x86_64-linux-gnu/gazebo-11/plugins:: bad variable name

[gazebo-1] process has died [pid 10790, exit code 2, cmd /opt/ros/noetic/lib/gazebo_ros/gzserver -e ode /home/paritosh/Learning ROS/catkin_ws/src/turtlebot3_simulations/turtlebot3_gazebo/worlds/empty.world __name:=gazebo __log:=/home/paritosh/.ros/log/5d68c3e4-fd23-11ec-9e09-5fbd7a3a6a11/gazebo-1.log].

log file: /home/paritosh/.ros/log/5d68c3e4-fd23-11ec-9e09-5fbd7a3a6a11/gazebo-1*.log


[gazebo_gui-2] process has died [pid 10795, exit code 2, cmd /opt/ros/noetic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/paritosh/.ros/log/5d68c3e4-fd23-11ec-9e09-5fbd7a3a6a11/gazebo_gui-2.log].

log file: /home/paritosh/.ros/log/5d68c3e4-fd23-11ec-9e09-5fbd7a3a6a11/gazebo_gui-2*.log

Traceback (most recent call last):
File "/opt/ros/noetic/lib/gazebo_ros/spawn_model", line 239, in <module> exit_code = sm.run()

File "/opt/ros/noetic/lib/gazebo_ros/spawn_model", line 132, in run model_xml = rospy.get_param(self.args.param)

File "/opt/ros/noetic/lib/python3/dist-packages/rospy/client.py", line 467, in get_param return _param_server[param_name] #MasterProxy does all the magic for us

File "/opt/ros/noetic/lib/python3/dist-packages/rospy/msproxy.py", line 123, in __getitem__
            raise KeyError(key)
        KeyError: 'robot_description'

[spawn_urdf-3] process has died [pid 10800, exit code 1, cmd /opt/ros/noetic/lib/gazebo_ros/spawn_model -urdf -model turtlebot3_burger -x 0.0 -y 0.0 -z 0.0 -param robot_description __name:=spawn_urdf __log:=/home/paritosh/.ros/log/5d68c3e4-fd23-11ec-9e09-5fbd7a3a6a11/spawn_urdf-3.log].

    log file: /home/paritosh/.ros/log/5d68c3e4-fd23-11ec-9e09-5fbd7a3a6a11/spawn_urdf-3*.log
        all processes on machine have died, roslaunch will exit
        shutting down processing monitor...
    ... shutting down processing monitor complete
    done

I'm using: Ubuntu 20.04 Focal Fossa with Noetic Ninjemys

Here's the make of my laptop: Lenovo Z470(2010)

Intel® Core™ i5-2410M CPU @ 2.30GHz × 4

Intel® HD Graphics 3000 (SNB GT2)

7.7 GiB

I suppose that the problem might have something to do with the built-in URDF and not an actual hardware compatibility issue. Also, I'm running it natively on my laptop, not on a virtual machine.

Asked by logger on 2022-07-06 09:02:15 UTC

Comments

Answers