Robotics StackExchange | Archived questions

Error while loading gazebo in ubuntu with ROS2 Foxy

Hi I am trying to lunch a expriement with turtlebot on gazebo, but when i luch the file to load gazebo it doesnt work. This is the error showed in the terminal

[ERROR] [robot_state_publisher-3]: process has died [pid 176909, exit code 127, cmd '/opt/ros/foxy/lib/robot_state_publisher/robot_state_publisher /home/gmadro/turtlebot3_ws/install/turtlebot3_description/share/turtlebot3_description/urdf/turtlebot3_waffle_pi.urdf --ros-args -r __node:=robot_state_publisher --params-file /tmp/launch_params_1gy3wq6y'].
[gzserver-1] gzserver: symbol lookup error: /opt/ros/foxy/lib/libgazebo_ros_init.so: undefined symbol: _ZN10gazebo_ros9ThrottlerC1Ed

[ERROR] [gzserver-1]: process has died [pid 176904, exit code 127, cmd 'gzserver /home/gmadro/turtlebot3_ws/install/turtlebot3_gazebo/share/turtlebot3_gazebo/worlds/turtlebot3_worlds/waffle_pi.model                                                                      -s libgazebo_ros_init.so   -s libgazebo_ros_factory.so   -s libgazebo_ros_force_system.so       '].

[ERROR] [gzclient   -2]: process has died [pid 176906, exit code 255, cmd 'gzclient   '].

Asked by gmadro04 on 2023-05-08 19:00:17 UTC

Comments

There might have been more errors and useful info in the output. Can you edit your question to include more output? I see robot_state_publisher died that could trigger Gazebo to die subsequently (depending on how a launch is configured) but need more info to say what caused a crash.

Asked by 130s on 2023-05-09 14:43:21 UTC

Answers