Skip to content

Update to MADSci v0.8#29

Open
RyanTheRobothead wants to merge 7 commits into
mainfrom
v0.8
Open

Update to MADSci v0.8#29
RyanTheRobothead wants to merge 7 commits into
mainfrom
v0.8

Conversation

@RyanTheRobothead
Copy link
Copy Markdown
Member

Summary

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() (3× created_by= for gripper / lid_slot / plate_lid templates, 1× 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 uses.
    • Fix broken CMD: scripts/pf400_rest_node.pysrc/pf400_rest_node.py (scripts/ never existed).
    • No dialout groups — pf400 is network-only (TCP to the robot's IP), no USB/serial.

Branched off the existing rapid_446_dev branch, so the diff against main includes 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 /statusready: true
  • curl /statepf400_status_code: READY with live joint angles [861.943, -1.451, 172.64, 175.601, 126.43, -644.028]
  • ULID 01K9ZGTECF75R64V6EDXBNVTTT preserved via .madsci/registry.json
  • gripper / lid_slot / plate_lid resource templates created in postgres

caseystone and others added 7 commits December 19, 2025 14:40
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants