Confused about loading ros_control and MoveIt! controllers
It seems that MoveIt! expects the controllers.yaml to have controller_list:
at the top, like this:
controller_list:
- name: left_vel_based_pos_traj_controller
joints:
- left_ur5_shoulder_pan_joint
- left_ur5_shoulder_lift_joint
- left_ur5_elbow_joint
...
This puts all of the controller parameters in one giant string, with the parameter name controller_list
. Then I have trouble loading the ros_control settings because they look for individual parameters. I get errors like:
Could not load controller 'left_vel_based_pos_traj_controller' because the type was not specified. Did you load the controller configuration on the parameter server (namespace: '/left_vel_based_pos_traj_controller')?
Does anybody have an example of how you load a controller from controller_list? My best guess so far was:
<node name="ros_control_controller_spawner" pkg="controller_manager" type="spawner" respawn="false" output="screen" args="controller_list/left_vel_based_pos_traj_controller">
</node>
I'm thinking I may need to load 2 nearly-identical yaml files: one for MoveIt!, one for ros_control.