mirror of
https://github.com/pollen-robotics/microduck.git
synced 2026-12-03 02:47:45 +08:00
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>