Trouble setting up computer with ROS Kinetic, Gazebo 9, and latest gazebo_ros_pkgs
Setting up a computer to use ROS kinetic, Gazebo 9, and the latest version of gazebo_ros_pkgs
(from source) is giving errors. They are basically controller type 'fu/bar' not exist
.
[ INFO] [1524592104.175529525, 0.137000000]: Loading gazebo_ros_control plugin
[ INFO] [1524592104.175757532, 0.137000000]: Starting gazebo_ros_control plugin in namespace: /
[ INFO] [1524592104.176666268, 0.137000000]: gazebo_ros_control plugin is waiting for model URDF in parameter [robot_description] on the ROS param server.
[ INFO] [1524592104.309520405, 0.137000000]: Loaded gazebo_ros_control.
[ INFO] [1524592104.331149974, 0.159000000]: waitForService: Service [/gazebo/set_physics_properties] is now available.
Loaded joint_state_controller
[ERROR] [1524592104.335562797, 0.163000000]: Could not load controller 'arm_controller' because controller type 'position_controllers/JointTrajectoryController' does not exist.
[ERROR] [1524592104.335600886, 0.163000000]: Use 'rosservice call controller_manager/list_controller_types' to get the available types
Error when loading arm_controller
[ERROR] [1524592104.339144617, 0.167000000]: Could not load controller 'gripper_fake_controller' because controller type 'effort_controllers/JointPositionController' does not exist.
[ERROR] [1524592104.339186543, 0.167000000]: Use 'rosservice call controller_manager/list_controller_types' to get the available types
Error when loading gripper_fake_controller
[ERROR] [1524592104.343053113, 0.171000000]: Could not load controller 'mobile_base_fake_controller' because controller type 'effort_controllers/JointPositionController' does not exist.
[ERROR] [1524592104.343081991, 0.171000000]: Use 'rosservice call controller_manager/list_controller_types' to get the available types
Error when loading mobile_base_fake_controller
Started ['joint_state_controller'] successfully
[ERROR] [1524592104.349697714, 0.177000000]: Could not start controller with name arm_controller because no controller with this name exists
Error when starting ['arm_controller']
[ERROR] [1524592104.352091520, 0.180000000]: Could not start controller with name gripper_fake_controller because no controller with this name exists
Error when starting ['gripper_fake_controller']
[ERROR] [1524592104.354369094, 0.183000000]: Could not start controller with name mobile_base_fake_controller because no controller with this name exists
Error when starting ['mobile_base_fake_controller']
Based on this answer, I set up the new computer as follows
sudo apt remove --purge ros-kinetic-*
sudo apt remove gazebo7 gazebo7-common gazebo7-plugin-base
sudo apt remove --purge ros-kinetic-gazebo-ros ros-kinetic-gazebo-ros-pkgs
Remove gazebo again?
Thanks for looking at this. Please let me know if you have any suggestions.
Edit:
Running sudo apt install ros-kinetic-position-controllers
and sudo apt install ros-kinetic-effort-controllers
helped with most of the errors but I am still left with
[ERROR] [1524614845.792391368, 0.313000000]: Could not load controller 'arm_controller' because controller type 'position_controllers/JointTrajectoryController' does not exist.
[ERROR] [1524614845.792423207, 0.313000000]: Use 'rosservice call controller_manager/list_controller_types' to get the available types
The output of rosservice call controller_manager/list_controller_types
is
types: [effort_controllers/JointEffortController, effort_controllers/JointGroupEffortController, effort_controllers/JointGroupPositionController, effort_controllers/JointPositionController, effort_controllers/JointVelocityController, joint_state_controller/JointStateController, position_controllers/JointGroupPositionController, position_controllers/JointPositionController]
base_classes: ['controller_interface::ControllerBase', 'controller_interface::ControllerBase', 'controller_interface::ControllerBase', 'controller_interface::ControllerBase', 'controller_interface::ControllerBase', 'controller_interface::ControllerBase', 'controller_interface::ControllerBase', 'controller_interface::ControllerBase']