qboticslabs / mastering_ros

This repository contains exercise files of the book "Mastering ROS for Robotics Programming"
https://www.packtpub.com/hardware-and-creative/mastering-ros-robotics-programming
468 stars 282 forks source link

Could not load controller 'joint_state_controller' because controller type 'joint_state_controller/JointStateController' does not exist #7

Closed qboticslabs closed 8 years ago

qboticslabs commented 8 years ago

Getting this error when executing the following command !! Page number 104

$ roslaunch seven_dof_arm_gazebo seven_dof_arm_gazebo_control.launch

qboticslabs commented 8 years ago

Here is the solution !

Actually before running this launch file, please check Page : 100 about different types of ROS controllers and the ROS package name.

You should install this package manually. I didn't mention installation command in that page !

If you want the installation commands, you can take the following commands

$ sudo apt-get install ros-indigo-joint-state-controller : This will install joint_state_controller package

$ sudo apt-get install ros-indigo-effort-controllers : This will install Effort controller

$ sudo apt-get install ros-indigo-position-controllers : This will install position controllers

ZhengQiushi commented 3 years ago

thanks for your help!