-
Notifications
You must be signed in to change notification settings - Fork 9
Description
The Shadow hand has mechanical limits larger than urdf limits. For instance, due to external forces, the xFJ3 could become negative when the lower limit is 0.0.
This could lead to problems with MoveIt! thinking some joints are out of bound, or in trajectory controllers expecting joints targets within the range but starting way-point is out of range already.
We started to think about using the optional soft_limits and have the urdf store the hard limits (mechanical) http://wiki.ros.org/urdf/XML/joint
There is a discussion started there moveit/moveit#867 to evaluate if MoveIt! should support that.
Of course a lot of tools rely on the joint limits, and this might become an issue if the hard limits are set there.
@toliver What do you think regarding the shadow hand and specifically the control side? The controller common code https://github.com/shadow-robot/sr_core/blob/kinetic-devel/sr_mechanism_controllers/src/sr_controller.cpp#L101 could try read the optional soft limits and revert to the urdf joint limits if not found, to be backward compatible.