RethinkRobotics / baxter_simulator

Gazebo Simulation interface for the Baxter Research Robot
http://sdk.rethinkrobotics.com/wiki/Baxter_Simulator
BSD 3-Clause "New" or "Revised" License
84 stars 95 forks source link

joint_state_controller run dependency #78

Closed kmhallen closed 7 years ago

kmhallen commented 8 years ago

After installing ros-indigo-baxter-simulator with apt-get and running roslaunch baxter_gazebo baxter_world.launch, the following error came up.

[ERROR] [1452721279.691889491, 0.542000000]: Could not load controller 'joint_state_controller' because controller type 'joint_state_controller/JointStateController' does not exist.
[ERROR] [1452721279.691927138, 0.542000000]: Use 'rosservice call controller_manager/list_controller_types' to get the available types

joint_state_controller or its meta-package (ros_controllers) should be added as a run dependency of either baxter_sim_controllers or baxter_gazebo.

rethink-imcmahon commented 8 years ago

Good find. baxter_sim_hardware/baxter_sdk_control.launch file is the offender:

  <!-- load the default controllers -->
  <node name="controller_spawner" pkg="controller_manager" type="spawner" respawn="false"
        output="screen" ns="/robot" args="--shutdown-timeout -1 joint_state_controller" />
davetcoleman commented 7 years ago

This PR would fix it: https://github.com/RethinkRobotics/baxter_simulator/pull/84

IanTheEngineer commented 7 years ago

Resolved by #84