ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello,

I gazebo with ros, you have to read all message logs into the terminal you will get the error messages.

In your case,

[gzserver-3] [ERROR] [1669321310.420717058] [gazebo_ros2_control]: Error parsing URDF in gazebo_ros2_control plugin, plugin not active : no attribute name in ros2_control tag
[spawner.py-2] [INFO] [1669321311.033782844] [spawner_joint_state_broadcaster]: Waiting for /controller_manager services
[spawner.py-2] [INFO] [1669321313.050987270] [spawner_joint_state_broadcaster]: Waiting for /controller_manager services
[spawner.py-2] [INFO] [1669321315.067009109] [spawner_joint_state_broadcaster]: Waiting for /controller_manager services
[spawner.py-2] [ERROR] [1669321317.086227286] [spawner_joint_state_broadcaster]: Controller manager not available
[ERROR] [spawner.py-2]: process has died [pid 30428, exit code 1, cmd '/opt/ros/foxy/lib/controller_manager/spawner.py joint_state_broadcaster -c /controller_manager --ros-args'].
[INFO] [spawner.py-6]: process started with pid [30593]
[spawner.py-6] [INFO] [1669321317.558955885] [spawner_minicar_controller]: Waiting for /controller_manager services
[spawner.py-6] [INFO] [1669321319.576272847] [spawner_minicar_controller]: Waiting for /controller_manager services
[spawner.py-6] [INFO] [1669321321.593130100] [spawner_minicar_controller]: Waiting for /controller_manager services
[spawner.py-6] [INFO] [1669321323.608227359] [spawner_minicar_controller]: Waiting for /controller_manager services
[spawner.py-6] [INFO] [1669321325.625707465] [spawner_minicar_controller]: Waiting for /controller_manager services
[spawner.py-6] [ERROR] [1669321327.644283473] [spawner_minicar_controller]: Controller manager not available
[ERROR] [spawner.py-6]: process has died [pid 30593, exit code 1, cmd '/opt/ros/foxy/lib/controller_manager/spawner.py minicar_controller -c /controller_manager --ros-args'].
^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT)
[robot_state_publisher-1] [INFO] [1669321412.145160525] [rclcpp]: signal_handler(signal_value=2)
[INFO] [robot_state_publisher-1]: process has finished cleanly [pid 30426]
^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT) again, ignoring...
[INFO] [gzclient-4]: process has finished cleanly [pid 30432]
^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT) again, ignoring...
[ERROR] [gzserver-3]: process has died [pid 30430, exit code -11, cmd 'gzserver -s libgazebo_ros_factory.so /home/mikita/ros2_ws/install/minicar_simulator/share/minicar_simulator/worlds/test_walls.world'].

This are your error messages.

I think you need to have a look into your URDF file and in your plugin code you are missing the argument name ros2_control.

<plugin filename="file_name.so" name="gazebo_ros2_control">
      # You need to add tag over here. 
</plugin>