Update to MADSci v0.8#29
Open
RyanTheRobothead wants to merge 7 commits into
Open
Conversation
Lifts the module from v0.6 to v0.8 for the RAPID 446 grimm rebuild.
- pyproject.toml: pin madsci-{node-module,client,common}~=0.8.0;
bump requires-python to >=3.10,<3.13.
- src/pf400_rest_node.py: rename self.node_definition.{node_id,node_name}
-> self.node_info.* at 4 sites in startup_handler() (3x created_by=
for gripper / lid_slot / plate_lid templates, 1x f"{...node_name}.gripper"
resource name).
- Dockerfile rewritten on the v0.8 pattern:
- Pin base to ghcr.io/ad-sdl/madsci:v0.8.0.
- `uv pip install --python ${MADSCI_VENV}/bin/python -e ./pf400_module`
so the editable install lands in the venv the runtime actually uses.
- Fix broken CMD: scripts/pf400_rest_node.py -> src/pf400_rest_node.py
(scripts/ never existed).
- No dialout groups -- pf400 is network-only.
Verified end-to-end on grimm with pf400_piper:
/status -> ready: true
/state -> pf400_status_code: READY, live joint angles
[861.943, -1.451, 172.64, 175.601, 126.43, -644.028]
Co-Authored-By: Claude Opus 4.7 <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
Lifts the module from v0.6 to v0.8 for the RAPID 446 grimm rebuild.
pyproject.toml: pinmadsci-{node-module,client,common}~=0.8.0; bumprequires-pythonto>=3.10,<3.13.src/pf400_rest_node.py: renameself.node_definition.{node_id,node_name}→self.node_info.*at 4 sites instartup_handler()(3×created_by=for gripper / lid_slot / plate_lid templates, 1×f"{...node_name}.gripper"resource name).Dockerfilerewritten on the v0.8 pattern:ghcr.io/ad-sdl/madsci:v0.8.0.uv pip install --python ${MADSCI_VENV}/bin/python -e ./pf400_moduleso the editable install lands in the venv the runtime uses.scripts/pf400_rest_node.py→src/pf400_rest_node.py(scripts/never existed).dialoutgroups — pf400 is network-only (TCP to the robot's IP), no USB/serial.Branched off the existing
rapid_446_devbranch, so the diff againstmainincludes that branch's MADSci 0.6 transition + rate-limit / replace_lid fixes from earlier in the cycle.Test plan
Verified end-to-end on grimm with
pf400_piper:curl /status→ready: truecurl /state→pf400_status_code: READYwith live joint angles[861.943, -1.451, 172.64, 175.601, 126.43, -644.028]01K9ZGTECF75R64V6EDXBNVTTTpreserved via.madsci/registry.json