Skip to content

Ship bundled penprobe lookup map + wire it as the demo default#7

Merged
jacklange22 merged 1 commit into
mainfrom
feat/penprobe-bundled-default-map
May 29, 2026
Merged

Ship bundled penprobe lookup map + wire it as the demo default#7
jacklange22 merged 1 commit into
mainfrom
feat/penprobe-bundled-default-map

Conversation

@jacklange22
Copy link
Copy Markdown
Owner

Summary

  • The two-segment penprobe lookup demo now works on a fresh checkout with zero setup: open the page and hit Run, and the spine chases the nearest reachable map point to the live 0B penprobe.
  • Commits the 2493-point workspace lookup map (compact JSON, ~1.3 MB) to a tracked location outside the gitignored data/experiments/ tree: continuum_robot/demo/maps/two_segment_workspace_lookup_map.json. Built from the big 20260526_235950 servo_only collect-pose dataset.
  • Wires it as the demo default: TwoSegmentPenprobeLookupDemoConfig.map_path now defaults to that path (resolved against project_root at runtime). An absent map_path → bundled map; an explicitly-empty map_path still refuses (operator intent preserved). The GUI map field pre-fills the bundled path on open; "Use Latest Built Map" / "Browse…" still override it.

Test plan

  • test_demo_uses_bundled_default_map_when_none_specified — stages the real committed map under the runner project_root, runs with no map_path, loads the 2493-point map, succeeds
  • updated GUI page test (default now pre-fills bundled path) + empty-map-path refusal test
  • two-segment suite: 274 pass

🤖 Generated with Claude Code

…demo default

The penprobe lookup demo now works on a fresh checkout with zero setup: open the
page and hit Run, and the spine chases the nearest reachable point to the live
0B penprobe.

- Commit the 2493-point workspace lookup map (compact JSON, ~1.3 MB) to a tracked
  location OUTSIDE the gitignored data/experiments/ tree:
  continuum_robot/demo/maps/two_segment_workspace_lookup_map.json. Built from the
  big 20260526_235950 servo_only collect-pose dataset (allow_lower_trust); tagged
  bundled_demo_default_map.
- Wire it as the demo default: TwoSegmentPenprobeLookupDemoConfig.map_path now
  defaults to that path (dataclass + from_dict), resolved against project_root at
  runtime so it works on any checkout. An ABSENT map_path uses the bundled map;
  an explicitly-empty map_path still refuses (operator intent preserved).

Tests: add test_demo_uses_bundled_default_map_when_none_specified (stages the real
committed map under the runner project_root, runs with no map_path -> loads the
2493-point map, success); update the GUI page test (default now pre-fills the
bundled path) and the empty-map-path refusal test. two-segment suite: 274 pass.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@jacklange22 jacklange22 merged commit 745c041 into main May 29, 2026
1 check failed
@jacklange22 jacklange22 deleted the feat/penprobe-bundled-default-map branch May 29, 2026 19:15
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.

1 participant