Commit Graph

11 Commits

Author SHA1 Message Date
lgv
bcb014524d feat(xiaozhao): configure touch return motion and update collision models 2026-11-18 20:09:48 +08:00
lgv
2c4dff5d7f feat(touch): initialize xiaozhao head and update simulation setup
Register the neck as a three-DOF MotorRobotArm and add optional head
initialization to the touch task. Run a synchronous MoveJ before entering
IDLE, validate the complete joint set, and fail initialization when the
head is unavailable or motion fails. Preserve existing configurations.

Set the head startup target to [0.15, -0.1, 0.1] rad. Include the updated
S05-reference screen layout, matching right-arm preset and documentation.

Validation: Release build and 29 related tests passed. An isolated MuJoCo
probe verified task initialization moving the head from a nonzero pose to
its configured zero target before the final target-value update. The final
configuration parsed successfully. Full visual-servo motion was not tested.
2026-11-18 10:06:43 +08:00
lgv
b7d0beec92 feat(touch): split tactile devices and add PX6AX GenX CAN support 2026-11-11 17:14:22 +08:00
lgv
37a62fb3e3 feat(arm): add collision-aware planning and refactor motion control
Integrate OMPL RRTConnect and quintic B-spline smoothing into moveP, reuse
the B-spline trajectory generator for moveJ, and remove the TOPPRA paths
and dependencies. Separate joint and Cartesian planners, smoothers, and
the standalone curve math library.

Move speedL execution into SpeedLExecutor, tighten velocity QP feasibility,
and add adaptive speed reduction, braking recovery, feedback-derived TCP
velocity, and grouped cyclic velocity submission. Improve MuJoCo control
cycle synchronization and camera streaming.

Centralize kinematics and collision geometry in RobotModel, expose box
obstacles through CollisionChecker, and extract SelfCollisionMonitor for
protective stops and recovery. Add cancellable moveP pre-approach and
configurable failure recovery to the touch workflow, with updated configs,
documentation, and regression coverage.

Validation: recorded -j8 build and 133 passing tests on 2026-10-08, including
headless MuJoCo checks for eight target poses and seven moveJ returns.
Static scene configuration removal passed 27 follow-up tests and six arm
configuration parses. Staged diff and shell syntax checks pass; no new
hardware tests were run for this commit.
2026-10-13 09:18:06 +08:00
lgv
ffccdea26d fix(touch): improve reversal planning and enforce speedL limits
Preserve acceleration through same-axis velocity reversal and submit retract
commands immediately after zero-dwell tactile contact. Capture the applied
command's TCP reference and measure signed retract progress, with logging of
the maximum sampled forward displacement after reversal starts.

Support per-command linear jerk in both touch.speed_l and retract, and cap
requested acceleration and jerk at the configured arm limits. Protect command
snapshots and stop completion against newer speedL submissions. Include the
current QP arm and retract parameter tuning and remove an obsolete config field.

Add headless actuator-driven MuJoCo reversal measurement and focused regression
coverage for reversal continuity, controller concurrency, limit enforcement,
and touch jerk configuration.

Validation: cmvr_es and touch_screen_task_test build successfully; 18 focused
regression tests pass, along with headless MuJoCo reversal checks.
2026-09-18 14:40:39 +08:00
lgv
149d8cdb5d fix(touch): validate tactile readings and use newton thresholds 2026-09-18 13:51:13 +08:00
lgv
96e3bcf624 fix(touch): separate camera display thread and improve touch workflow 2026-09-18 12:45:55 +08:00
lgv
964b0457ca feat:add pbvs touch 2026-09-15 10:42:56 +08:00
lgv
181fb15591 feat(touch): add eye-to-hand PBVS MuJoCo support 2026-09-09 17:28:24 +08:00
lgv
9deb6c5383 fix(touch-screen): move to init pose before touch start 2026-06-24 17:16:04 +08:00
lgv
181e14c7ef refactor:Refactor all the code 2026-06-24 15:45:54 +08:00