From c1b778c28e805e48a7dcc79bcc3f85517fe415ea Mon Sep 17 00:00:00 2001 From: Griswald Brooks Date: Thu, 16 Jul 2026 00:38:07 -0400 Subject: [PATCH] feat(lab_sim): add Run pi0.5 Policy objective wiring ExecutePolicyPi05Torch Wires the new ExecutePolicyPi05Torch behavior (moveit_pro PR pending) into a lab_sim Objective. Wiring demo only: the pi0.5 base checkpoint's declared state_dim (32) does not match lab_sim's real joint count, so this needs a matching-dims fine-tuned checkpoint export before it can run end-to-end. Added to skip_objectives in the integration test since no such checkpoint ships in CI. --- src/lab_sim/objectives/run_pi05_policy.xml | 50 +++++++++++++++++++ .../test/objectives_integration_test.py | 1 + 2 files changed, 51 insertions(+) create mode 100644 src/lab_sim/objectives/run_pi05_policy.xml diff --git a/src/lab_sim/objectives/run_pi05_policy.xml b/src/lab_sim/objectives/run_pi05_policy.xml new file mode 100644 index 000000000..91fcc9140 --- /dev/null +++ b/src/lab_sim/objectives/run_pi05_policy.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + diff --git a/src/lab_sim/test/objectives_integration_test.py b/src/lab_sim/test/objectives_integration_test.py index d33ae4a3f..a381c011b 100644 --- a/src/lab_sim/test/objectives_integration_test.py +++ b/src/lab_sim/test/objectives_integration_test.py @@ -295,6 +295,7 @@ def _controller_safe_mujoco_reset( # rate even with the 0.003 s scene timestep and CPU pinning. See PR #615. "Push Button With a Trajectory", "Record Square Trajectory", + "Run pi0.5 Policy", # Wiring demo only: needs an external ~15 GB libtorch checkpoint export not present in CI. "Scan Scene - Multiple Point Clouds", "Stack Objects with ICP", # Skipped because there is no primary ui to switch to in ci "Stitch Multiple Point Clouds Together",