csiro-robotics / syropod_highlevel_controller

OpenSHC: A Versatile Multilegged Robot Controller
Other
159 stars 33 forks source link

Error while launching the gazebo simulation for the bullet #7

Open 23pierre10 opened 3 years ago

23pierre10 commented 3 years ago

Hi all, Thank for this amazing job, here is my issue:

I get this error when launching the gazebo simulation as presented in the shc_tutorial: https://github.com/csiro-robotics/shc_tutorials/blob/master/shc_pc_gazebo_simulation.md (this error for each joint)

Loading controller: CR_tarsus_joint [ERROR] [1603356651.666804983]: Could not load controller 'CR_tarsus_joint' because controller type 'effort_controllers/JointPositionController' does not exist. [ERROR] [1603356651.666897035]: Use 'rosservice call controller_manager/list_controller_types' to get the available types [ERROR] [1603356652.668200]: Failed to load CR_tarsus_joint

How can I fix this ? In the gazebo launch file we have this:

and I am not sure the pkg controller_manager is existing somewhere. I think this may be the issue in that case. I installed all the dynamixel pkg included in the csiro-robotics git.

Thank you for your answers Cheers

fctalbot commented 3 years ago

Hi, thanks for trying out OpenSHC,

Looks like you may be missing the effort controllers package, this should have been installed in this section of the tutorials. Try reinstalling the controllers using sudo apt install ros-melodic-ros-controllers and let us know if that fixes your issues otherwise we can try and help further.

Cheers, Fletch

23pierre10 commented 3 years ago

Hi, This actually solved the problem. Thanks a lot.