Turn the waist with the arm on a hand-over, recover stopped picks and improve follow tracking
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+8
-4
@@ -12,6 +12,7 @@ Every value here is a constant at the top of its file, with a comment on what it
|
||||
| `robot/motion.py` | `JOINT_ACCEL_FACTOR` | 1.5 | Joint moves: acceleration = speed × this per second (route 60 °/s², normal 37.5, slow 15). Lower = softer start and stop, longer moves. Estimate |
|
||||
| `manipulation/arm_route.py` | `SPEED` | "route" | Joint moves along the pose graph (to `look`, `carry`, `give`, `ready`, `wave_out`, `wave_start`, `wave`) with an empty hand; the wave's way up |
|
||||
| `manipulation/arm_route.py` | `HOLD_SPEED` | "slow" | The same with something in the hand |
|
||||
| `manipulation/arm_route.py` | `GIVE_SPEED` | "slow" | The last move into `give`, from `give_pre` (only when `give_pre` is taught: every empty-hand way to `give` then ends `give_pre` → `give`) |
|
||||
| `manipulation/skills.py` | `EMPTY_SPEED` | "normal" | Arm with nothing in the hand: the joint move from `look` to above a cup |
|
||||
| `manipulation/skills.py` | `HOLDING_SPEED` | "slow" | With an object in the hand, and the last 10 cm down onto an object and up from it |
|
||||
| `manipulation/skills.py` | `ABOVE_MM` | 100 mm | Height above the grasp from where the arm goes straight down (slow) |
|
||||
@@ -62,8 +63,8 @@ Every value here is a constant at the top of its file, with a comment on what it
|
||||
| `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 |
|
||||
| `tasks/follow.py` | `HEAD_REL_MAX`, `HEAD_PITCH`, `HEAD_STEP_DEG`, `HEAD_LEAD_S`, `HEAD_VEL` | 30°, 10°, 3°, 0.3 s, 50 % | Head on the person while following: always straight on them (up to ±180° on the waist); a person further than `HEAD_REL_MAX` from the base heading turns the waist for the rest; fixed pitch, smallest move, sent where they will be this much later, speed |
|
||||
| `tasks/follow.py` | `WAIST_FOLLOW_MAX`, `WAIST_STEP_DEG`, `WAIST_FOLLOW_VEL`, `WAIST_DRIVE_DEG`, `WAIST_RETRY_S` | 90°, 8°, 50 %, 15°, 1 s | Waist toward the person while following, at the same time as the head and the base: at most this far from the front (the base turns for the rest; it unwinds as the base turns), at most `WAIST_STEP_DEG` per body move (the head goes to its full target in the same move) at `WAIST_FOLLOW_VEL`, each step checked along the arm's sweep; the base drives forward only with the person near ahead and the waist within `WAIST_DRIVE_DEG` of the front; a blocked waist turn is tried again after `WAIST_RETRY_S`. Estimates |
|
||||
| `tasks/follow.py` | `HEAD_REL_MAX`, `HEAD_PITCH`, `HEAD_STEP_DEG`, `HEAD_LEAD_S`, `HEAD_LEAD_MAX_S`, `HEAD_VEL` | 30°, 10°, 3°, 0.3 s, 1.5 s, 100 % | Head on the person while following: always straight on them (up to ±180° on the waist); a turned waist unwinds until the person is `HEAD_REL_MAX` from the base heading; fixed pitch, smallest move, sent where they will be (seen from where the base will be) as long as the last head move took, at least `HEAD_LEAD_S`, at most `HEAD_LEAD_MAX_S`, speed and acceleration (the maximum; the head is at its top speed from 50) |
|
||||
| `tasks/follow.py` | `WAIST_FOLLOW_MAX`, `WAIST_STEP_DEG`, `WAIST_FOLLOW_VEL`, `WAIST_DRIVE_DEG`, `WAIST_RETRY_S` | 90°, 8°, 50 %, 15°, 1 s | Waist while following: never turned further out; turned at the start (after "look behind") it unwinds as the base turns, to at most `WAIST_FOLLOW_MAX` from the front, at most `WAIST_STEP_DEG` per body move (the head goes to its full target in the same move) at `WAIST_FOLLOW_VEL`, each step checked along the arm's sweep; the base drives forward only with the person near ahead and the waist within `WAIST_DRIVE_DEG` of the front; a blocked waist turn is tried again after `WAIST_RETRY_S`. Estimates |
|
||||
| `tasks/follow.py` | `BRAKE_S`, `BLOCKED_END_S` | 0.5 s, 5 s | Each command is checked where the base (`BASE_HALF_M + CLEAR_M`) and the arm (`ARM_CLEAR_M`) would be this much later; blocked this long: "Something is in my way" |
|
||||
| `tasks/follow.py` | `TICK_S`, `LOG_S` | 0.1 s, 1 s | Command rate (steady); `follow: v … w … driven … person … head … tick` line (driven = the base's real speed from its pose) in `logs/lumi_console.log` |
|
||||
| `assistant/lumi.py` | `MATCH_DEG_PER_M` | 10 °/m | Person tracking: each m of distance difference counts as this many degrees when a detection is given to a track. Estimate |
|
||||
@@ -93,10 +94,13 @@ Every value here is a constant at the top of its file, with a comment on what it
|
||||
| `manipulation/skills.py` | `IK_SEEDS` | ready, look, carry, give | Taught poses whose arm configurations (and wrist flips) seed the pick / place IK |
|
||||
| `tasks/fetch.py` | `PICK_ZONE_CENTRE` | (−100, 580) mm | Where a base move brings an object (arm base frame) |
|
||||
| `tasks/fetch.py` | `LOST_BACK_M`, `LOST_TURN_DEG` | 0.15 m, 20° | An object lost after a base move: back off, turn each way, look again |
|
||||
| `tasks/fetch.py` | `BACK_DOWN_MM` | 60 mm | Holding a cup just picked, base, waist and lift unchanged and the hand this near (sideways) over the pick spot: a put down goes straight down there, without the arm to `look` first |
|
||||
| `tasks/fetch.py` | `WAIST_STEP_DEG` | 10° | "Give me your hand" turns the waist toward the person while the arm moves, in moves this long: a STOP ends the turn after the move it is in. Bigger is smoother, smaller stops sooner |
|
||||
| `manipulation/skills.py` | `BACK_OUT_NEAR_MM` | 30 mm | A pick stopped with the hand within this of its way in: the next pick first backs out the way it came (side: out, then up; top: up) |
|
||||
| `tasks/fetch.py` | `WIDTH_NEAR_MM` | 250 mm | A width further than this from the pick zone does not refuse a pick (far widths read ~8 mm too wide); measured again up close |
|
||||
| `manipulation/skills.py` | `MIN_WIDTH`, `MAX_WIDTH` | 70, 81 mm | Object widths the gripper takes from above (the open ring 87 by tape, 6 margin for the camera; wider cups are taken from the side; belly closed 68; tips open 87 / close to 63; [10_GRIPPER.md](10_GRIPPER.md)). `MIN_WIDTH` 61 enables the finger-tip grasp (61–72 mm) |
|
||||
| `manipulation/skills.py` | `MIN_WIDTH`, `MAX_WIDTH` | 70, 97 mm | Object widths the gripper takes from above (the open tips 100, margin 3; wider cups are taken from the side; belly 102 / 77, tips 100 / 73; [10_GRIPPER.md](10_GRIPPER.md)). `MIN_WIDTH` 61 enables the finger-tip grasp (61–72 mm) |
|
||||
| `manipulation/skills.py` | `BELLY_MIN_MM` | 70 mm | Thinner objects are held between the finger tips (the belly closes only to 68 mm) |
|
||||
| `manipulation/skills.py` | `SIDE_MAX_WIDTH`, `SIDE_BAND_MM`, `SIDE_SEEN_MM` | 84, 12, 0 mm | Side grasp of a cup too wide at the top: the width the fingers meet (seen + `SIDE_SEEN_MM`; the camera reads a cup's lower part about right, unlike its rim) must be `MIN_WIDTH`..this (open tips 87 mm) from `SIDE_BAND_MM` below to above the grasp point (the hooks are ~16 mm thick) |
|
||||
| `manipulation/skills.py` | `SIDE_MAX_WIDTH`, `SIDE_BAND_MM`, `SIDE_SEEN_MM` | 97, 12, 0 mm | Side grasp of a cup too wide at the top: the width the fingers meet (seen + `SIDE_SEEN_MM`; the camera reads a cup's lower part about right, unlike its rim) must be `MIN_WIDTH`..this (open tips 100 mm) from `SIDE_BAND_MM` below to above the grasp point (the hooks are ~16 mm thick) |
|
||||
| `manipulation/skills.py` | `SIDE_AT`, `SIDE_TOP_MM` | 0.42, 5 mm | Side grasp height: this share of the cup's height above the table, or the nearest height that fits; the hooks' top at least `SIDE_TOP_MM` under the rim |
|
||||
| `manipulation/skills.py` | `HOOK_BELOW_MM`, `SIDE_CLEAR_MM` | 8, 40 mm | Side grasp: the hand's lowest part this far below the grasp point (estimate from photos), kept `TIP_CLEAR_MM` above the table; the hand comes down this far from the cup's edge before its tips, then goes in level |
|
||||
| `manipulation/skills.py` | `TIPS_OFFSET` (`data/grasp_tips_teach.json` `tips_offset_flange`) | [−0.4, −4.6, 28.2] mm | Finger-tip grasp: the object's axis goes this far from the hooks' belly centre (flange frame, level, turned with the grasp); taught |
|
||||
|
||||
Reference in New Issue
Block a user