From 41a01e9a3f022b3b23906ffffa56579311dbd31e Mon Sep 17 00:00:00 2001 From: rlpratt12 Date: Fri, 15 May 2026 14:40:16 -0600 Subject: [PATCH 1/2] fix(lab_sim): Tutorial 1 walk-through fixes - ml_find_objects_on_table.xml: Add SwitchUIPrimaryView at the end of the tree so a view pane auto-switches to /masks_visualization once masks are published. Matches the behavior of the other ML Objectives in lab_sim (ml_segment_image, ml_find_bottles_on_table_from_image_exemplar) and restores the auto-show readers expect from Tutorial 1. - pick_all_bottles_with_apriltags.xml: Flatten the "Release and Retract" subtree, which had three nested single-child Sequence wrappers around the actual actions. The wrappers were structurally inert but very confusing when a tutorial reader opens the tree. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../objectives/ml_find_objects_on_table.xml | 5 + .../pick_all_bottles_with_apriltags.xml | 106 +++++++++--------- 2 files changed, 55 insertions(+), 56 deletions(-) diff --git a/src/lab_sim/objectives/ml_find_objects_on_table.xml b/src/lab_sim/objectives/ml_find_objects_on_table.xml index 44e6d0b45..b5f87c527 100644 --- a/src/lab_sim/objectives/ml_find_objects_on_table.xml +++ b/src/lab_sim/objectives/ml_find_objects_on_table.xml @@ -26,6 +26,11 @@ bounding_box_labels="{confidence_scores_str}" image="{wrist_camera_image}" /> + + diff --git a/src/lab_sim/objectives/pick_all_bottles_with_apriltags.xml b/src/lab_sim/objectives/pick_all_bottles_with_apriltags.xml index 5a18620f7..15cf98c7a 100644 --- a/src/lab_sim/objectives/pick_all_bottles_with_apriltags.xml +++ b/src/lab_sim/objectives/pick_all_bottles_with_apriltags.xml @@ -353,62 +353,56 @@ name="Release and Retract" _collapsed="false" > - - - - - - - - - - - - - - - - + + + + + + + + + + From 20bce2f2b636e97321bd92d326e0439ac6a60a6c Mon Sep 17 00:00:00 2001 From: rlpratt12 Date: Fri, 15 May 2026 15:18:46 -0600 Subject: [PATCH 2/2] fix(lab_sim): Remove warm-up velocity_force_controller block Drop the warm-up preamble (2x SwitchController + zero_fts) at the top of the Pick All Bottles with AprilTags tree. The cold-start cost it was guarding against is essentially zero in the current build, and the block adds ~3-4s of unnecessary controller-swap latency at the top of every run. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../pick_all_bottles_with_apriltags.xml | 33 ------------------- 1 file changed, 33 deletions(-) diff --git a/src/lab_sim/objectives/pick_all_bottles_with_apriltags.xml b/src/lab_sim/objectives/pick_all_bottles_with_apriltags.xml index 15cf98c7a..9933416d1 100644 --- a/src/lab_sim/objectives/pick_all_bottles_with_apriltags.xml +++ b/src/lab_sim/objectives/pick_all_bottles_with_apriltags.xml @@ -123,39 +123,6 @@ - - - - - -