$ ros2 launch robotnik_gazebo_ignition spawn_world.launch.py 17:20:30 [105/1003]
[INFO] [launch]: All log files can be found below /home/andrejpan/.ros/log/2025-07-02-17-20-26-179148-notebook-148817
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [gazebo-1]: process started with pid [148839]
[INFO] [gazebo-2]: process started with pid [148840]
[gazebo-1] Warning [Utils.cc:132] [/sdf/world[@name="default"]/model[@name="ground_plane"]/link[@name="link"]/collision[@name="collision"]/surface/friction/bullet/mu:/home/andrejpan/code/robotnik_ws/install/robo
tnik_gazebo_ignition/share/robotnik_gazebo_ignition/worlds/ignition/demo.sdf.world:L67]: XML Element[mu], child of element[bullet], not defined in SDF. Copying[mu] as children of [bullet].
[gazebo-1] Warning [Utils.cc:132] [/sdf/world[@name="default"]/model[@name="ground_plane"]/link[@name="link"]/collision[@name="collision"]/surface/friction/torsional/bullet:/home/andrejpan/code/robotnik_ws/insta
ll/robotnik_gazebo_ignition/share/robotnik_gazebo_ignition/worlds/ignition/demo.sdf.world:L70]: XML Element[bullet], child of element[torsional], not defined in SDF. Copying[bullet] as children of [torsional].
[gazebo-1] Warning [Utils.cc:132] [/sdf/world[@name="default"]/physics[@name="default_physics"]/bullet/friction_model:/home/andrejpan/code/robotnik_ws/install/robotnik_gazebo_ignition/share/robotnik_gazebo_ignit
ion/worlds/ignition/demo.sdf.world:L103]: XML Element[friction_model], child of element[bullet], not defined in SDF. Copying[friction_model] as children of [bullet].
[gazebo-2] Warning [Utils.cc:132] [/sdf/model[@name="ground_plane"]/link[@name="link"]/collision[@name="collision"]/surface/friction/bullet/mu:<data-string>:L21]: XML Element[mu], child of element[bullet], not d
efined in SDF. Copying[mu] as children of [bullet].
[gazebo-2] Warning [Utils.cc:132] [/sdf/model[@name="ground_plane"]/link[@name="link"]/collision[@name="collision"]/surface/friction/torsional/bullet:<data-string>:L24]: XML Element[bullet], child of element[tor
sional], not defined in SDF. Copying[bullet] as children of [torsional].
[gazebo-2] Warning [Utils.cc:132] [/sdf/model[@name="ground_plane"]/link[@name="link"]/collision[@name="collision"]/surface/friction/bullet/mu:<data-string>:L21]: XML Element[mu], child of element[bullet], not d
efined in SDF. Copying[mu] as children of [bullet].
[gazebo-2] Warning [Utils.cc:132] [/sdf/model[@name="ground_plane"]/link[@name="link"]/collision[@name="collision"]/surface/friction/torsional/bullet:<data-string>:L24]: XML Element[bullet], child of element[tor
sional], not defined in SDF. Copying[bullet] as children of [torsional].
[gazebo-2] libEGL warning: egl: failed to create dri2 screen
[gazebo-2] libEGL warning: egl: failed to create dri2 screen
[gazebo-2] libEGL warning: egl: failed to create dri2 screen
[gazebo-1] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="front_laser"]/gz_frame_id:<urdf-string>:L0]: XML Element[gz_frame_id], child of element[sensor],
not defined in SDF. Copying[gz_frame_id] as children of [sensor].
[gazebo-1] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="front_camera_color"]/camera[@name="front_camera_color"]/vertical_fov:<urdf-string>:L0]: XML Eleme
nt[vertical_fov], child of element[camera], not defined in SDF. Copying[vertical_fov] as children of [camera].
[gazebo-1] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="front_camera_color"]/gz_frame_id:<urdf-string>:L0]: XML Element[gz_frame_id], child of element[se
nsor], not defined in SDF. Copying[gz_frame_id] as children of [sensor].
[gazebo-1] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="front_camera_color"]/camera_info_topic:<urdf-string>:L0]: XML Element[camera_info_topic], child o
f element[sensor], not defined in SDF. Copying[camera_info_topic] as children of [sensor].
[gazebo-1] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="rear_laser"]/gz_frame_id:<urdf-string>:L0]: XML Element[gz_frame_id], child of element[sensor], n
ot defined in SDF. Copying[gz_frame_id] as children of [sensor].
[gazebo-1] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="rear_camera_color"]/camera[@name="rear_camera_color"]/vertical_fov:<urdf-string>:L0]: XML Element
[vertical_fov], child of element[camera], not defined in SDF. Copying[vertical_fov] as children of [camera].
[gazebo-1] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="rear_camera_color"]/gz_frame_id:<urdf-string>:L0]: XML Element[gz_frame_id], child of element[sen
sor], not defined in SDF. Copying[gz_frame_id] as children of [sensor].
[gazebo-1] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="rear_camera_color"]/camera_info_topic:<urdf-string>:L0]: XML Element[camera_info_topic], child of
element[sensor], not defined in SDF. Copying[camera_info_topic] as children of [sensor].
[gazebo-1] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="imu_sensor"]/imu/orientation:<urdf-string>:L0]: XML Element[orientation], child of element[imu],
not defined in SDF. Copying[orientation] as children of [imu].
[gazebo-1] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="imu_sensor"]/imu/orientation_enabled:<urdf-string>:L0]: XML Element[orientation_enabled], child o
f element[imu], not defined in SDF. Copying[orientation_enabled] as children of [imu].
[gazebo-1] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="imu_sensor"]/imu/angular_velocity_enabled:<urdf-string>:L0]: XML Element[angular_velocity_enabled
], child of element[imu], not defined in SDF. Copying[angular_velocity_enabled] as children of [imu].
[gazebo-1] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="imu_sensor"]/imu/linear_acceleration_enabled:<urdf-string>:L0]: XML Element[linear_acceleration_e
nabled], child of element[imu], not defined in SDF. Copying[linear_acceleration_enabled] as children of [imu].
[gazebo-1] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="imu_sensor"]/gz_frame_id:<urdf-string>:L0]: XML Element[gz_frame_id], child of element[sensor], n
ot defined in SDF. Copying[gz_frame_id] as children of [sensor].
[gazebo-1] 2025-07-02 17:20:40.513 | robot.gz_ros_control: Loading controller_manager
[gazebo-1] 2025-07-02 17:20:40.535 | robot.controller_manager: Using ROS clock for triggering controller manager cycles.
[gazebo-1] 2025-07-02 17:20:40.543 | robot.controller_manager: Subscribing to '/robot/robot_description' topic for robot description.
[gazebo-1] 2025-07-02 17:20:40.549 | robot.gz_ros_control: Waiting RM to load and initialize hardware...
[gazebo-1] 2025-07-02 17:20:40.553 | robot.controller_manager: Received robot description from topic.
[gazebo-1] 2025-07-02 17:20:40.567 | robot.gz_ros_control: The position_proportional_gain has been set to: 0.1
[gazebo-1] 2025-07-02 17:20:40.567 | robot.gz_ros_control: Loading joint: robot_left_wheel_joint
[gazebo-1] 2025-07-02 17:20:40.567 | robot.gz_ros_control: State:
[gazebo-1] 2025-07-02 17:20:40.567 | robot.gz_ros_control: position
[gazebo-1] 2025-07-02 17:20:40.567 | robot.gz_ros_control: velocity
[gazebo-1] 2025-07-02 17:20:40.567 | robot.gz_ros_control: effort
[gazebo-1] 2025-07-02 17:20:40.567 | robot.gz_ros_control: Command:
[gazebo-1] 2025-07-02 17:20:40.567 | robot.gz_ros_control: velocity
[gazebo-1] 2025-07-02 17:20:40.567 | robot.gz_ros_control: Loading joint: robot_right_wheel_joint
[gazebo-1] 2025-07-02 17:20:40.567 | robot.gz_ros_control: State:
[gazebo-1] 2025-07-02 17:20:40.567 | robot.gz_ros_control: position
[gazebo-1] 2025-07-02 17:20:40.568 | robot.gz_ros_control: velocity
[gazebo-1] 2025-07-02 17:20:40.568 | robot.gz_ros_control: effort
[gazebo-1] 2025-07-02 17:20:40.568 | robot.gz_ros_control: Command:
[gazebo-1] 2025-07-02 17:20:40.568 | robot.gz_ros_control: velocity
[gazebo-1] 2025-07-02 17:20:40.568 | robot.gz_ros_control: Loading sensor: imu_sensor
[gazebo-1] 2025-07-02 17:20:40.568 | robot.gz_ros_control: State:
[gazebo-1] 2025-07-02 17:20:40.568 | robot.gz_ros_control.resource_manager: Initialize hardware 'IgnitionSystem'
[gazebo-1] 2025-07-02 17:20:40.568 | robot.gz_ros_control.resource_manager: Successful initialization of hardware 'IgnitionSystem'
[gazebo-1] 2025-07-02 17:20:40.568 | resource_manager: 'configure' hardware 'IgnitionSystem'
[gazebo-1] 2025-07-02 17:20:40.568 | robot.gz_ros_control: System Successfully configured!
[gazebo-1] 2025-07-02 17:20:40.568 | resource_manager: Successful 'configure' of hardware 'IgnitionSystem'
[gazebo-1] 2025-07-02 17:20:40.568 | resource_manager: 'activate' hardware 'IgnitionSystem'
[gazebo-1] 2025-07-02 17:20:40.568 | resource_manager: Successful 'activate' of hardware 'IgnitionSystem'
[gazebo-1] 2025-07-02 17:20:40.569 | robot.controller_manager: Resource Manager has been successfully initialized. Starting Controller Manager services...
[gazebo-1] 2025-07-02 17:20:40.586 | robot.controller_manager: Loading controller : 'joint_state_broadcaster' of type 'joint_state_broadcaster/JointStateBroadcaster'
[gazebo-1] 2025-07-02 17:20:40.586 | robot.controller_manager: Loading controller 'joint_state_broadcaster'
[gazebo-1] 2025-07-02 17:20:40.596 | robot.controller_manager: Controller 'joint_state_broadcaster' node arguments: --ros-args --params-file /home/andrejpan/code/robotnik_ws/install/robotnik_description/share/ro
botnik_description/simulators/gazebo_ignition/rbtheron/rbtheron_controller_params.yaml -p use_sim_time:=true --param use_sim_time:=true
[gazebo-1] 2025-07-02 17:20:40.617 | robot.controller_manager: Configuring controller: 'joint_state_broadcaster'
[gazebo-1] 2025-07-02 17:20:40.617 | robot.joint_state_broadcaster: 'joints' or 'interfaces' parameter is empty. All available state interfaces will be published
[gazebo-1] 2025-07-02 17:20:40.643 | robot.controller_manager: Activating controllers: [ joint_state_broadcaster ]
[gazebo-1] 2025-07-02 17:20:42.828 | robot.gz_ros_control: Desired controller update period (0.01 s) is slower than the gazebo simulation period (0.001 s).
[gazebo-1] 2025-07-02 17:20:42.829 | robot.gz_ros_control: IMU imu_sensor has a topic name: robot/imu/data
[gazebo-1] 2025-07-02 17:20:42.830 | robot.controller_manager: Successfully switched controllers!
[gazebo-2] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="front_laser"]/gz_frame_id:<data-string>:L266]: XML Element[gz_frame_id], child of element[sensor]
, not defined in SDF. Copying[gz_frame_id] as children of [sensor].
[gazebo-2] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="front_camera_color"]/camera[@name="front_camera_color"]/vertical_fov:<data-string>:L285]: XML Ele
ment[vertical_fov], child of element[camera], not defined in SDF. Copying[vertical_fov] as children of [camera].
[gazebo-2] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="front_camera_color"]/gz_frame_id:<data-string>:L292]: XML Element[gz_frame_id], child of element[
sensor], not defined in SDF. Copying[gz_frame_id] as children of [sensor].
[gazebo-2] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="front_camera_color"]/camera_info_topic:<data-string>:L293]: XML Element[camera_info_topic], child
of element[sensor], not defined in SDF. Copying[camera_info_topic] as children of [sensor].
[gazebo-2] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="rear_laser"]/gz_frame_id:<data-string>:L320]: XML Element[gz_frame_id], child of element[sensor],
not defined in SDF. Copying[gz_frame_id] as children of [sensor].
[gazebo-2] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="rear_camera_color"]/camera[@name="rear_camera_color"]/vertical_fov:<data-string>:L339]: XML Eleme
nt[vertical_fov], child of element[camera], not defined in SDF. Copying[vertical_fov] as children of [camera].
[gazebo-2] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="rear_camera_color"]/gz_frame_id:<data-string>:L346]: XML Element[gz_frame_id], child of element[s
ensor], not defined in SDF. Copying[gz_frame_id] as children of [sensor].
[gazebo-2] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="rear_camera_color"]/camera_info_topic:<data-string>:L347]: XML Element[camera_info_topic], child
of element[sensor], not defined in SDF. Copying[camera_info_topic] as children of [sensor].
[gazebo-2] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="imu_sensor"]/imu/orientation:<data-string>:L395]: XML Element[orientation], child of element[imu]
, not defined in SDF. Copying[orientation] as children of [imu].
[gazebo-2] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="imu_sensor"]/imu/orientation_enabled:<data-string>:L415]: XML Element[orientation_enabled], child
of element[imu], not defined in SDF. Copying[orientation_enabled] as children of [imu].
[gazebo-2] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="imu_sensor"]/imu/angular_velocity_enabled:<data-string>:L416]: XML Element[angular_velocity_enabl
ed], child of element[imu], not defined in SDF. Copying[angular_velocity_enabled] as children of [imu].
[gazebo-2] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="imu_sensor"]/imu/linear_acceleration_enabled:<data-string>:L417]: XML Element[linear_acceleration
_enabled], child of element[imu], not defined in SDF. Copying[linear_acceleration_enabled] as children of [imu].
[gazebo-2] Warning [Utils.cc:132] [/sdf/model[@name="rb_theron"]/link[@name="robot_base_footprint"]/sensor[@name="imu_sensor"]/gz_frame_id:<data-string>:L421]: XML Element[gz_frame_id], child of element[sensor],
not defined in SDF. Copying[gz_frame_id] as children of [sensor]
[gazebo-1] libEGL warning: egl: failed to create dri2 screen
[gazebo-1] libEGL warning: egl: failed to create dri2 screen
[gazebo-1] libEGL warning: egl: failed to create dri2 screen
[gazebo-1] 2025-07-02 17:20:50.794 | robot.controller_manager: Loading controller : 'robotnik_base_controller' of type 'robotnik_controllers/RBTheronController'
[gazebo-1] 2025-07-02 17:20:50.795 | robot.controller_manager: Loading controller 'robotnik_base_controller'
[gazebo-1] 2025-07-02 17:20:50.106 | robot.controller_manager: Controller 'robotnik_base_controller' node arguments: --ros-args --params-file /home/andrejpan/code/robotnik_ws/install/robotnik_description/share/robotnik_description/simulators/gazebo_ignition/rbtheron/rbtheron_controller_params.yaml -p use_sim_time:=true --param use_sim_time:=true
[gazebo-1] 2025-07-02 17:20:50.144 | robot.controller_manager: Configuring controller: 'robotnik_base_controller'
[gazebo-1] 2025-07-02 17:20:50.184 | robot.robotnik_base_controller: BaseController::command_interface_configuration
[gazebo-1] 2025-07-02 17:20:50.184 | robot.robotnik_base_controller: BaseController::state_interface_configuration
[gazebo-1] 2025-07-02 17:20:50.209 | robot.controller_manager: Activating controllers: [ robotnik_base_controller ]
[gazebo-1] 2025-07-02 17:20:50.209 | robot.robotnik_base_controller: BaseController::command_interface_configuration
[gazebo-1] 2025-07-02 17:20:50.209 | robot.robotnik_base_controller: BaseController::state_interface_configuration
[gazebo-1] 2025-07-02 17:20:50.210 | robot.robotnik_base_controller: BaseController::command_interface_configuration
[gazebo-1] 2025-07-02 17:20:50.210 | robot.robotnik_base_controller: BaseController::command_interface_configuration
[gazebo-1] 2025-07-02 17:20:50.210 | robot.robotnik_base_controller: BaseController::state_interface_configuration
[gazebo-1] 2025-07-02 17:20:50.210 | robot.robotnik_base_controller: BaseController::command_interface_configuration
[gazebo-1] 2025-07-02 17:20:50.210 | robot.robotnik_base_controller: BaseController::state_interface_configuration
[gazebo-1] 2025-07-02 17:20:50.221 | robot.robotnik_base_controller: BaseController::command_interface_configuration
[gazebo-1] 2025-07-02 17:20:50.221 | robot.robotnik_base_controller: BaseController::state_interface_configuration
[gazebo-1] 2025-07-02 17:20:50.221 | robot.robotnik_base_controller: robotnik_controllers -> RobotnikController::on_activate
[gazebo-1] 2025-07-02 17:20:50.221 | robot.robotnik_base_controller: BaseController::command_interface_configuration
[gazebo-1] 2025-07-02 17:20:50.221 | robot.controller_manager: Successfully switched controllers!
[gazebo-1] Stack trace (most recent call last) in thread 149485:
[gazebo-1] #9 Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
[gazebo-1] #8 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f6109729c3b, in
[gazebo-1] #7 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f610969caa3, in
[gazebo-1] #6 Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f6103cecdb3, in
[gazebo-1] #5 Object "/opt/ros/jazzy/opt/gz_sim_vendor/lib/libgz-sim8.so.8", at 0x7f6102d4ed45, in
[gazebo-1] #4 Object "/opt/ros/jazzy/lib/libgz_ros2_control-system.so", at 0x7f60beefd428, in gz_ros2_control::GazeboSimROS2ControlPlugin::PostUpdate(gz::sim::v8::UpdateInfo const&, gz::sim::v8::EntityComponentManager const&)
[gazebo-1] #3 Object "/opt/ros/jazzy/lib/libcontroller_manager.so", at 0x7f60bee0cc92, in controller_manager::ControllerManager::update(rclcpp::Time const&, rclcpp::Duration const&)
[gazebo-1] #2 Object "/opt/ros/jazzy/lib/libcontroller_interface.so", at 0x7f60be9b78ca, in controller_interface::ControllerInterfaceBase::trigger_update(rclcpp::Time const&, rclcpp::Duration const&)
[gazebo-1] #1 Object "/opt/ros/jazzy/lib/librobotnik_controllers.so", at 0x7f6048f42a5d, in robotnik_controllers::RobotnikController::update(rclcpp::Time const&, rclcpp::Duration const&)
[gazebo-1] #0 Object "/opt/ros/jazzy/lib/librobotnik_controllers.so", at 0x7f6048f3e360, in robotnik_controllers::RobotnikController::write_command_interface(std::vector<robotnik_controllers::wheel_states_t, std::allocator<robotnik_controllers::wheel_states_t> >&)
[gazebo-1] Segmentation fault (Signal sent by the kernel [(nil)])
[gazebo-1] Segmentation fault (core dumped)
[ERROR] [gazebo-1]: process has died [pid 148839, exit code 139, cmd 'ruby $(which gz) sim -r -s /home/andrejpan/code/robotnik_ws/install/robotnik_gazebo_ignition/share/robotnik_gazebo_ignition/worlds/ignition/demo.sdf.world --force-version 8'].
[INFO] [launch]: process[gazebo-1] was required: shutting down launched system
[INFO] [gazebo-2]: sending signal 'SIGINT' to process[gazebo-2]
[ERROR] [gazebo-2]: process[gazebo-2] failed to terminate '5' seconds after receiving 'SIGINT', escalating to 'SIGTERM'
[INFO] [gazebo-2]: sending signal 'SIGTERM' to process[gazebo-2]
[ERROR] [gazebo-2]: process has died [pid 148840, exit code -15, cmd 'ruby $(which gz) sim -g --force-version 8'].
[INFO] [launch]: process[gazebo-2] was required: shutting down launched system
What happened?
Second shell
I am also getting similar issue when running
ros2 launch robotnik_gazebo_ignition spawn_robot.launch.py robot:=rbrobout.Relevant log output