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

Hi @Samper-Esc,

Try to load the config file and the node in the same namespace with:

<group ns="ch1_controllers"> <rosparam command="load" file="$(find ch1_simulator)/controllers/wheels_controllers.yaml"/> <node name="ch1_controller_spawner" pkg="controller_manager" type="spawner" args="ch1_joint_state_publisher ch1_controller_ur ch1_controller_ul ch1_controller_br ch1_controller_bl"/> </group>

Also, remember the ROS control plugin will need to work withing the same namespace.

Hi @Samper-Esc,

Try to load the config file and the node in the same namespace with:

<group ns="ch1_controllers">
  <rosparam command="load" file="$(find ch1_simulator)/controllers/wheels_controllers.yaml"/>
ch1_simulator)/controllers/wheels_controllers.yaml" />
  <node name="ch1_controller_spawner" pkg="controller_manager" type="spawner" args="ch1_joint_state_publisher type="spawner"
    args= "ch1_joint_state_publisher ch1_controller_ur ch1_controller_ul ch1_controller_br ch1_controller_bl"/>
</group>

ch1_controller_bl" /> </group>

Also, remember the ROS control plugin will need to work withing the same namespace.