You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description of the bug
The specification of joint intervals
The related codes are in line 151~162 of https://github.com/stepjam/PyRep/blob/master/pyrep/objects/joint.py, where it specifies
interval[0] is the joint minimum allowed value, interval[1] is the joint range (the maximum allowed value is interval[0]+interval[1]
.The incorrect use of joint intervals
The related codes are in line 102 of https://github.com/stepjam/PyRep/blob/master/pyrep/robots/end_effectors/gripper.py, where it goes like
joint_range = joint_intervals[:, 1] - joint_intervals[:, 0]
, appearing to treat joint_intervals[1] as the maximum allowed value instead of the joint range.My suggestions on improvement
joint_rage = joint_intervals[:, 1]
.The text was updated successfully, but these errors were encountered: