moveit / moveit_planners

THIS REPO HAS MOVED TO https://github.com/ros-planning/moveit
15 stars 34 forks source link

MoveIt! package for schunk PG70 gripper #71

Closed SaranKanag closed 8 years ago

SaranKanag commented 8 years ago

Hi,

I am trying to control schunk PG70 gripper with MoveIt!. MoveIt! generally requires all dimensions to be in meters. I am currently using a package from [https://github.com/jlarraez/schunk_lwa4p] for PG70 integration. My PG70 is able to move only when i give a value in range 0.05 to 1.14 and it is an unknown unit. From spec, i could understand that PG70 can move from 0-68 mm(millimeters) so the value which it should move with respect to moveit is 0.00 to 0.068 meters. Now the package which i use is not moving the gripper at that required range instead it moves only for 0.05 to 1.14.

Anyone please suggest me a way to move my gripper at its actual physical unit?
Thanks in advance.

davetcoleman commented 8 years ago

Sounds like you need to calibrate your gripper driver to accept meters as a unit, so that it can interface with MoveIt! properly. The simple ratio you explained would probably work. Seems out of scope of MoveIt! though, please re-open if I misunderstand.

SaranKanag commented 8 years ago

Thanks davetcoleman. I have resolved the issue by adding a joint named revolute joint for which the value i specified (0.05-1.14) can be given. Using this revolute joint we can map gripper's left finger and right finger values to lay within 0-68 mm.