Commit 404bd6e
Ubuntu
feat(viewer): click-robot-to-teleop, Ctrl+click nav, overlay UX
- Click robot entity in 3D → engages teleop for that robot
(WASD publishes to <robot>/cmd_vel). Click non-robot → disengages.
Robot detection via entity path prefix matching (go2/g1/robot).
- Ctrl+click non-robot entity with position → nav goal
(PointStamped LCM on /clicked_point). Plain click = Rerun selection.
- Overlay at (260,12), greyed out when disengaged with
'click robot' hint. Bright when engaged, shows robot name.
- KeyboardHandler shared via Rc<RefCell<>> between DimosApp and
on_event callback for robot selection state.
- Multi-robot infrastructure: set_active_robot() + set_engaged()
for future per-robot channel switching.1 parent 81ddf01 commit 404bd6e
3 files changed
Lines changed: 263 additions & 482 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3110 | 3110 | | |
3111 | 3111 | | |
3112 | 3112 | | |
3113 | | - | |
| 3113 | + | |
3114 | 3114 | | |
3115 | 3115 | | |
3116 | 3116 | | |
| |||
0 commit comments