IFRA-Cranfield / ros2_RobotSimulation

ROS2.0 Foxy and Humble repositories which provide ready-to-use ROS2.0 Gazebo + MoveIt!2 simulation packages for different Industrial and Collaborative Robots.
Apache License 2.0
149 stars 43 forks source link

CONTROLLER MANAGER NOT AVAILABLE #26

Closed chytra3 closed 3 months ago

chytra3 commented 3 months ago

I did all the installations properly and all the controller packages are present but i am getting this error as controller manager is not available and also some error in Loading parameter files panda_controller.yaml " an error string (message, file name, or formatted message) will be truncated [gzserver-1] [ERROR] [1712762426.399338901] [gazebo_ros2_control]: parser error Couldn't parse parameter override rule: '--param robot_description:=<?xml version="1.0" ? "

but the same files when my friends are running in their system , there is no such error

The terminal log is :

ros2 launch panda_ros2_moveit2 panda_interface.launch.py [INFO] [launch]: All log files can be found below /home/chytra/.ros/log/2024-04-10-20-50-15-816998-chytra-30077 [INFO] [launch]: Default logging verbosity is set to INFO

--- Cranfield University --- (c) IFRA Group

ros2_RobotSimulation --> PANDA ROBOT Launch file -> panda_interface.launch.py

Robot configuration:

WhatsApp Image 2024-04-11 at 7 50 50 PM WhatsApp Image 2024-04-11 at 7 50 31 PM


lxd551326 commented 3 months ago

i have some question ,did you solve it?

lxd551326 commented 3 months ago

you can try install gazebo_humble_ros2_controler version=0.4.6,if you are using 0.4.7, i had a same question

Rostemelov commented 3 months ago

Were you able to solve it?

you can try install gazebo_humble_ros2_controler version=0.4.6,if you are using 0.4.7, i had a same question

RitishShailly commented 3 months ago

you can try install gazebo_humble_ros2_controler version=0.4.6,if you are using 0.4.7, i had a same question

How did you install gazebo_humble_ros2_controler version=0.4.6?

cncowboy commented 3 months ago

first uninstall sudo apt remove gazebo_humble_ros2_controler then cd ros2_ws/src git clone -b 0.4.6 https://github.com/ros-controls/gazebo_ros2_control.git cd .. colcon build

mm0dev commented 3 months ago

@chytra3, I'm encountering the same issues. Up until a month ago, the simulation was running smoothly; however, for the past ten days, I've faced the parser error and the controller manager error.

It appears to be a recurring problem with this repository. A similar issue concerning parser problems has been documented here: https://github.com/IFRA-Cranfield/ros2_RobotSimulation/issues/27

first uninstall sudo apt remove gazebo_humble_ros2_controler then cd ros2_ws/src git clone -b 0.4.6 https://github.com/ros-controls/gazebo_ros2_control.git cd .. colcon build

I am about to try the solution proposed by @cncowboy. Fingers crossed.

Update: It works.

HR-ES commented 3 months ago

Try removing all of the comments in your URDF/xacro files. This is what fixed it for me.

chytra3 commented 3 months ago

first uninstall sudo apt remove gazebo_humble_ros2_controler then cd ros2_ws/src git clone -b 0.4.6 https://github.com/ros-controls/gazebo_ros2_control.git cd .. colcon build

thank youu this worked !!! this is the only difference that i found between the working system (left one) and mine (right one ) Screenshot from 2024-04-16 03-31-18