Add arms module with Arm/GripperArm hierarchy, Brooks and iSWAP backends#957
Open
rickwierenga wants to merge 2 commits intov1b1from
Open
Add arms module with Arm/GripperArm hierarchy, Brooks and iSWAP backends#957rickwierenga wants to merge 2 commits intov1b1from
rickwierenga wants to merge 2 commits intov1b1from
Conversation
Make PreciseFlexBackend comply with JointArmBackend interface: - Inherit from JointArmBackend instead of DeviceBackend - Implement all interface methods (pick_up/drop/move for both joint and cartesian) - Move PF-specific params (access, speed, finger_speed, grasp_force) into backend_params dataclasses - Remove pick_up_resource/drop_resource/move_to (inlined into interface methods) - Make set_speed/get_speed private - Remove resource_width from drop methods across all backends - Park delegates to move_to_safe Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Split _BaseArmBackend (halt, park) from gripper-specific methods - Add CanGrip mixin for open_gripper/close_gripper/is_gripper_closed - Rename ArmBackend → GripperArmBackend - Rename OrientableArmBackend → OrientableGripperArmBackend - Rename JointArmBackend → JointGripperArmBackend - Rename ArticulatedArmBackend → ArticulatedGripperArmBackend - resource_width only appears on backends that CanGrip - Move _resolve_direction to orientable_arm.py Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
pylabrobot/arms/module withArm,OrientableArm,JointArmdevice classes andGripperArmBackend,_BaseArmBackend,CanFreedrivebackend hierarchypylabrobot/brooks/vendor module withPreciseFlexBackendimplementingJointGripperArmBackendpylabrobot/hamilton/liquid_handlers/star/core.py(CoreGripper) andiswap.py(iSWAP) backendsPreciseFlexBackenddelegates to new Brooks moduleSTAR_backendgrip/iSWAP operations delegate to new backendsCanGripmixin separates gripper-specific methods from base arm operationsbackend_paramspattern for vendor-specific parametersCherry-picked from
capability-architecturebranch (commitsc4a1dc69c,b91036bb0).Test plan
🤖 Generated with Claude Code