Fix bugs found in review, with tests and docs for the four modes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+3
-3
@@ -199,7 +199,7 @@ Every value here is a constant at the top of its file, with a comment on what it
|
||||
| File | Name | Default | What it does |
|
||||
|---|---|---|---|
|
||||
| `tasks/wave_greet.py` | `GREET_MIN_M`, `GREET_M` | 1.0 m, 5.0 m | People waving nearer or further away are not answered (camera depth; without depth there, the shoulder width with `SHOULDER_M` 0.36 m) |
|
||||
| `tasks/wave_greet.py` | `PASSER_M` | 5.0 m (`GREET_M`) | A drive's stop and wave for people passing: someone this near and nobody within `IDLE_CLEAR_M` (1 m) |
|
||||
| `tasks/wave_greet.py` | `PASSER_MIN_M`, `PASSER_M`, `IDLE_CLEAR_M` | 0.8 m, 6.0 m, 0.8 m | Wave: a drive's stop and wave for someone new passing this near (each person once, `_passed`, forgotten `GONE_S` after they leave the view); Welcome: the same range at home; nobody within `IDLE_CLEAR_M` when a wave starts (owner, 2026-11-16; was 1 m) |
|
||||
| `vision/waving.py` | `FLOW_PX`, `FLOW_SHOULDER_PX` | 1.0 px, 80 px | Hand flow per frame that counts as a swing, for a person this wide at the shoulders; smaller (further) people need proportionally less |
|
||||
| `tasks/wave_greet.py` | `GONE_S` | 10 s | A greeted person out of both cameras' view this long is forgotten: their next wave gets an introduction again |
|
||||
| `tasks/wave_greet.py` | `HOLD_S` | 15 s | The waist stays on the last person who waved this long, then turns back to its rest; the hand stays up and the idle swings start at once |
|
||||
@@ -210,8 +210,8 @@ Every value here is a constant at the top of its file, with a comment on what it
|
||||
| `robot/gripper.py` | `FITTED` | False | The gripper is on the flange; while it is off AI_1 floats and is never read as closed or holding. True when it is back on |
|
||||
| `tasks/wave_greet.py` | `NEW_WAVE_S` | 5 s | No waving this long: the next wave gets a new greeting line |
|
||||
| `tasks/wave_greet.py` | `JOKE_AFTER_S`, `JOKE_EVERY_S` | 10 s, 12 s | Waving on and on: the first joke after this long, then one every this long |
|
||||
| `tasks/wave_greet.py`, `assistant/lumi.py` | `IDLE_WAVE_EVERY_S`, `IDLE_SWINGS`, `IDLE_AFTER_S` | 15 s, 3, 15 s | On the charger with the wave greeting on and nothing said to Lumi for `IDLE_AFTER_S`: the hand goes up and stays up, this many swings every `IDLE_WAVE_EVERY_S`; a call stops the swings (the hand stays up), a drive or an arm order takes it down. Estimates |
|
||||
| `assistant/lumi.py` | `PASSER_WAVE_EVERY_S`, `PASSER_MARKERS`, `DOCK_QUIET_M` | 15 s, "line", 2 m | With the wave greeting on, the empty arm drives with the hand up (`wave_start`). On the way to markers whose names start with `PASSER_MARKERS`, and on every leg of a there-and-back route loop, the base stops for anyone 1–5 m away and waves (`PASSER_M`); to other markers only for someone waving; at most every `PASSER_WAVE_EVERY_S`; never nearer than `DOCK_QUIET_M` to the dock (a stop there undoes the docking). Estimates |
|
||||
| `tasks/wave_greet.py` | `KEEP_QUIET_S`, `IDLE_WAVE_EVERY_S`, `IDLE_SWINGS` | 30 s, 15 s, 3 | Keep alive (owner, 2026-11-16): Wave on the way, `KEEP_QUIET_S` without a swing: the base stops, this many swings toward the nearest person at any distance (else ahead), drives on. Welcome on the charger: the hand up at once and held; `KEEP_QUIET_S` after the last wave at people (and nothing said to Lumi), these swings every `IDLE_WAVE_EVERY_S` |
|
||||
| `assistant/lumi.py` | `PASSER_WAVE_EVERY_S`, `DOCK_QUIET_M` | 5 s, 2 m | With Wave on, the empty arm drives with the hand up (`wave_start`); every drive (a point, a route, a loop) stops for someone new passing (`PASSER_M`) and for keep alive; at most every `PASSER_WAVE_EVERY_S` (a stop that could not wave does not repeat at once); never on the dock leg or nearer than `DOCK_QUIET_M` to the dock (a stop there undoes the docking). `PASSER_MARKERS` is no longer used |
|
||||
| `assistant/lumi.py` | `PASSER_MAX_M`, `PASSER_EVERY_S`, `PASSER_DEG` | 4 m, 2 s, 10° | On the charger with nobody talking to Lumi: the head turns to the nearest person this near, at most this often, when they are this far off where it looks (the body stays). Estimates |
|
||||
| `tasks/wave_greet.py` | `WAIST_MAX_DEG` | 30° | The waist turns toward a waving person this far from the front at most; the head covers the rest. Estimate |
|
||||
| `tasks/wave_greet.py` | `WAIST_MIN_DEG` | 10° | A person nearer the front than this: only the head turns, not the waist |
|
||||
|
||||
Reference in New Issue
Block a user