Files
microduck/kinematics/tests
apirroneandClaude Fable 5 e77cb8cff6 tof view: contact points not rays, IMU-aware floor filter, wider panel
Three fixes from the first hardware look:

- The rays floated a body-height from the robot: the baked visual root
  keeps its scene rest offset, and the overlay transformed by bare
  attitude(gravity). Markers now go through the trunk body's full pose.
  And they are points, not rays — a small plus at each return, yellow
  for a thing, green for confirmed floor — with the view zooming out
  just enough to frame them (returns past 0.45 m are dropped rather
  than shrinking the robot to a speck).

- The floor filter believed the trunk was upright: it reasoned in the
  trunk frame, so a robot leaned by hand called the floor an obstacle.
  The prototype had the same blind spot. Reprojection now takes a
  Posture — the IMU's projected gravity and contact odometry's measured
  trunk height — and computes its floor/range verdicts in the
  gravity-levelled frame. Pinned by a lean-the-trunk test.

- The sensor pose sits on the MJCF's own `tof` site instead of
  borrowing the camera's position (2 cm truer), the camera path staying
  as fallback for assets without the site.

Plus: 3D panel up to 74 columns (~20% wider where the terminal has
them), and `DUCK_MARKERS=demo DUCK_DUMP=… cargo test dump_for_eyeballs`
renders a synthetic depth frame through the real reprojector for
eyeballing without a robot.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-21 15:15:24 +02:00
..