Skip to content

feat(viewer): click-to-engage overlay + restore click-to-nav#19

Merged
spomichter merged 5 commits intomainfrom
feat/click-engage-rebase
Mar 18, 2026
Merged

feat(viewer): click-to-engage overlay + restore click-to-nav#19
spomichter merged 5 commits intomainfrom
feat/click-engage-rebase

Conversation

@spomichter
Copy link

Summary

Rebases Ruthwik's PR #13 onto current main (post-PR #14) and restores click-to-navigate that was accidentally dropped during the PR #18 rebase.

Changes

From Ruthwik (4 commits, authorship preserved)

  • Click overlay to engage/disengage WASD teleop
  • Click anywhere outside overlay to disengage
  • Movable overlay HUD
  • Default position fixes

Click-to-nav restore (1 commit)

  • Add StartupOptionsPatch struct to rerun entrypoint with on_event callback injection
  • Wire Ctrl+click → PointStamped LCM on /clicked_point in viewer.rs
  • Arc<AtomicBool> for ctrl state sharing (Send required by AppWrapper)
  • 100ms debounce on nav goal publishing

Context

PR #14 rewrote viewer.rs for run_with_app_wrapper and PR #18 rebased #13 onto it, but the conflict resolution took --ours for viewer.rs — silently dropping the click-to-nav handler. PR #18 has been reverted on main. This PR does the rebase properly.

Testing

  • 27/27 unit tests pass
  • Release build clean
  • Ctrl+click nav cannot be verified on Xvfb (needs real GPU raycast) — needs manual testing on a real display

ruthwikdasyam and others added 5 commits March 17, 2026 11:44
PR #14's run_with_app_wrapper rewrote viewer.rs and dropped the
on_event handler for click-to-navigate. This restores it properly:

- Add StartupOptionsPatch struct to rerun entrypoint with on_event callback
- Wire Ctrl+click -> PointStamped LCM on /clicked_point in viewer.rs
- Arc<AtomicBool> for ctrl state sharing (Send required by AppWrapper)
- 100ms debounce on nav goal publishing
@spomichter spomichter force-pushed the feat/click-engage-rebase branch from b2997dc to b8fdb08 Compare March 18, 2026 09:16
@spomichter spomichter merged commit 0e6e1a4 into main Mar 18, 2026
38 of 49 checks passed
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