allow the gripper to close faster we implemented a way to pass joint accel from the openpi-beta - #2
Open
imdark wants to merge 1 commit into
Conversation
Joint::init_config_individual now reads an optional grip_torque_limit from the effector individual (instance) config, overriding the model value when present. For the Yam gripper this sets the follower close speed/force in teleop: the per-cycle command window is grip_torque_limit / kp (clamp_target_to_grip_torque_limit), so raising it makes the gripper close faster (and squeeze harder). This lets openpi-beta tune the gripper close from its per-arm effector calibration JSON without a separate effector model. Absent -> keep the model value; validated finite and non-negative after the override.
imdark
force-pushed
the
feat-yam-fast-gripper
branch
from
July 9, 2026 07:59
fd88cd0 to
82caccb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Joint::init_config_individual now reads optional vel_max, accel_max, and follow_vel_max from the effector individual (instance) config, overriding the model-config values when present. This lets a caller tune joint motion limits -- e.g. openpi-beta raising the Yam gripper close speed via its per-arm effector calibration JSON (effector_instance_config) -- without shipping a separate effector model. Absent fields keep the model value; follow_vel_max keeps tracking vel_max when not set explicitly, and the limits are validated finite/positive after the override.