WSG32 gripper with a robot

asked 2017-11-06 07:53:10 -0500

tangol gravatar image

Hey there, I am fairly new to ROS. I am trying to make the WSG32 gripper work in combination with a robot. The robot on its own works well in moveit and reality (motion planning, collision etc.).

Now I downloaded https://github.com/nalt/wsg50-ros-pkg as a driver (compatible with WSG32). I fused the urdf files and renewed the moveit config. When I launch I can see the robot plus gripper but have many errors because of the controllers. I downloaded ros_control and ros_controllers. How can I use the gripper_action_controller for the WSG32?

controllers.yaml:

controller_list:
  - name: ""
    action_ns: joint_trajectory_action
    type: FollowJointTrajectory
    default: true
    joints: [joint_s, joint_l, joint_e, joint_u, joint_r, joint_b, joint_t]

controller_list:
  - name: ""
    action_ns: gripper_action_controller
    type: PositionJointInterface
    default: true
    joints: [base_joint_gripper_left, base_joint_gripper_right]

joint_names:

controller_joint_names: ['joint_s', 'joint_l', 'joint_e', 'joint_u', 'joint_r', 'joint_b', 'joint_t','base_joint_gripper_right', 'base_joint_gripper_left']

when planning and executing in Moveit:

[ INFO] [1509975842.315348793]: Stereo is NOT SUPPORTED
[ INFO] [1509975842.315457325]: OpenGl version: 3 (GLSL 1.3).
[ERROR] [1509975842.357673061]: Unknown controller type: PositionJointInterface
[ INFO] [1509975842.357742133]: Returned 0 controllers in list
[ INFO] [1509975842.371964621]: Trajectory execution is managing controllers

and:

[ERROR] [1509975852.081570148]: Unable to identify any set of controllers that can actuate the specified joints: [ joint_b joint_e joint_l joint_r joint_t joint_u ]
[ERROR] [1509975852.081595850]: Known controllers and their joints:
[ERROR] [1509975852.081625881]: Apparently trajectory initialization failed

one problem is that name is for both controllers "". But when I use rostopic list this returns:

/joint_trajectory_action/cancel
/joint_trajectory_action/feedback
/joint_trajectory_action/goal
/joint_trajectory_action/result
/joint_trajectory_action/status

no controller is found if I enter any name.

edit retag flag offensive close merge delete

Comments

Have you found a solution yet?

philwall3 gravatar image philwall3  ( 2017-12-21 04:32:37 -0500 )edit