Watch both cameras for waves and keep the body facing a waver
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+5
-1
@@ -60,7 +60,10 @@ Every value here is a constant at the top of its file, with a comment on what it
|
||||
| `tasks/follow.py` | `FOLLOW_MAX_MS`, `SPEED_GAIN` | 0.5 m/s, 0.8 /s | Follow speed cap (joy_control's own clamp, [05_AGV_BASE.md](05_AGV_BASE.md); the base's `max_speed_linear` is raised to it while following); speed = their walking speed + this per m beyond the gap |
|
||||
| `tasks/follow.py` | `ACCEL_MS2`, `DECEL_MS2` | 0.5, 0.8 m/s² | Speeding up / slowing down limits; never faster than lets the base stop at the gap with `DECEL_MS2` after `REACT_S`. Estimates |
|
||||
| `tasks/follow.py` | `REACT_S` | 0.3 s | From the person stopping to the base braking (frame, track, tick, command); with `DECEL_MS2` it sets the follow distance while walking (~1.3 m at 0.5 m/s). Estimate |
|
||||
| `tasks/follow.py` | `TURN_GAIN`, `TURN_MAX_RS`, `TURN_ACCEL_RS2`, `TURN_DEAD_DEG`, `TURN_ONLY_DEG` | 1.5, 0.6 rad/s, 2.0 rad/s², 5°, 35° | Turning toward the person: gain, cap (the base's `max_speed_angular` is raised to it while following), change limit, no turn within, no forward beyond (turn first) |
|
||||
| `tasks/follow.py` | `TURN_GAIN`, `TURN_MAX_RS`, `TURN_ACCEL_RS2`, `TURN_DEAD_DEG`, `TURN_ONLY_DEG` | 1.5, 1.0 rad/s, 2.0 rad/s², 5°, 35° | Turning toward the person: gain, cap (joy_control's own clamp, [05_AGV_BASE.md](05_AGV_BASE.md); the base's `max_speed_angular` is raised to it while following), change limit, no turn within, no forward beyond (turn first) |
|
||||
| `tasks/follow.py` | `FOCUS_FULL_DEG`, `FOCUS_EDGE_DEG`, `HEAD_DEG_S` | 5°, 25°, 40 °/s | The base turns at full speed while the head's gaze is within `FOCUS_FULL_DEG` behind the person, slower down to a stop at `FOCUS_EDGE_DEG` (only when the turn takes them further from the gaze), so the head camera keeps them in view; `HEAD_DEG_S` is the head's top speed (audio/sing.py), used for where a head swinging through the front meets a person coming round. Estimates |
|
||||
| `tasks/follow.py` | `ROUND_MAX_DEG` | 225° | The arm's sweep blocked toward the person: the base turns the other way round when that is at most this far |
|
||||
| `tasks/follow.py` | `SHIFT_STEP_M`, `SHIFT_MAX_M`, `SHIFT_MS` | 0.1 m, 0.4 m, 0.10 m/s (`fetch.MOVE_SPEED`) | Blocked both ways on the spot: straight moves forward / back in these steps up to `SHIFT_MAX_M` are tried (the way clear for the base and the arm, the turn from its end clear, the person still `FOLLOW_GAP_M` away; away from them first), the shortest is driven at `SHIFT_MS` and the turn made from there. Estimate |
|
||||
| `tasks/follow.py` | `STALE_S`, `COAST_S`, `LOST_S` | 0.4 s, 1.0 s, 3 s | A sighting older than `STALE_S` is not new; unseen, the base drives on toward where they should be for `COAST_S`, then slows; "I lost you" after `LOST_S` |
|
||||
| `tasks/follow.py` | `VEL_TAU_S`, `WALK_MAX_MS` | 0.5 s, 2 m/s | Walking-velocity filter time constant; faster estimates are noise |
|
||||
| `tasks/follow.py` | `JUMP_M`, `GATE_GROW_MS`, `SWITCH_M`, `RELOCK_LOOK` | 0.5 m, 0.7 m/s, 0.15 m, 0.6 | Keeping the person: a sighting further than `JUMP_M` (+ `GATE_GROW_MS` per s unseen) from where they should be is someone else; another track must be `SWITCH_M` nearer to be taken; clothes `reid.same` below `RELOCK_LOOK` never taken. Estimates |
|
||||
@@ -200,6 +203,7 @@ Every value here is a constant at the top of its file, with a comment on what it
|
||||
| `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` | `WAIST_MIN_DEG` | 10° | A person nearer the front than this: only the head turns, not the waist |
|
||||
| `tasks/wave_greet.py` | `WAIST_FOLLOW_DEG`, `FOLLOW_EVERY_S` | 20°, 3 s | The waving person moved this far off the waist's front: the waist turns to them again between swings, at most this often |
|
||||
| `tasks/wave_greet.py` | `WAIST_PARTS` | 1, 0.75, 0.5, 0.25 | A waist turn whose sweep is blocked is tried again this much of the way; the head covers the rest |
|
||||
| `tasks/wave_greet.py` | `REFUSED_S` | 30 s | After a refused wave (arm off, busy, holding) the next try waits this long |
|
||||
| `vision/waving.py` | `WINDOW_S`, `MIN_FLIPS` | 2 s, 2 | A wave: the hand's sideways motion changes direction this often within this long. Shorter window = quicker start and stop, slow waves missed |
|
||||
|
||||
Reference in New Issue
Block a user