Commit Graph

9 Commits

Author SHA1 Message Date
3d8391f3c6 chore(config): sync dev real and simulation device profiles
Sync configuration-related changes from dev 7d230fa5, including profile-aware readiness helpers and test paths. Keep linbo_dev legacy/minimal arm and Lingkong templates so existing references remain valid. Disable repository device defaults in both real and simulation profiles. Preserve the SocketCAN fix. Validate full Release all-target build, ten readiness tests and fifteen protobuf configurations.
2026-11-20 09:43:35 +08:00
lgv
08d9a393be chore(build): unify scripts and add build/install entrypoint
Add a Debug-default build script with Release and RelWithDebInfo support and automatic output installation. Run bundled protobuf tools without requiring a prior install.

Consolidate scripts/, remove unused tools and meshes, and update documentation and test commands. Include the TCHL profile-position test target adjustment to 3 rad.
2026-10-27 11:32:41 +08:00
lgv
b93e482b6a feat:add arm motion config 2026-10-26 09:18:55 +08:00
lgv
8656f3fae8 chore: clean unused documentation and EtherCAT machine defaults
Remove the unused RRTConnect integration guide and its README link. Leave
MASTER0_DEVICE and UPDOWN_INTERFACES empty in the bundled EtherCAT config;
the startup script generates both values from the selected interface.

Validation: checked shell syntax for the config and EtherCAT scripts and
verified the diff for whitespace errors. No hardware operations were run.
2026-10-19 16:02:33 +08:00
lgv
1e3466c1e6 feat(motor): add TCHL EtherCAT support and separate vendor operations
Add the TC600E TR motor, PDO mapping, configuration, vendor documents, and
real-motor examples for profile and cyclic position and velocity control.
Share EtherCAT motor conversion, cyclic batch commands, and feedback with
EYOU while supporting configurable CSP velocity feedforward objects and
rated-torque per-mille commands and feedback.

Keep common CiA402 state transitions, mode selection, motion commands, and
profile parameter SDO writes in Cia402Protocol. Move complete vendor limit,
zero calibration, brake, and TCHL enable timing workflows into independent
adapters, with Motor delegating each operation to its owner. Update TI5,
MuJoCo, the motor manager, and arm initialization for the revised interfaces.

Preserve the configured mode during torqueOn and use only the standard
6/7/F enable sequence. Keep PP set-point acknowledgement in position
commands and initialize EtherCAT arm modes before enabling axes.

Validation: built cmvr_es and all three affected real-motor test targets;
listed their tests without running hardware cases. Offline checks covered
CiA402 and vendor enable, calibration, failure cleanup, and PP handshakes.
Code whitespace checks passed; the vendor XML is preserved verbatim.
No real motors were operated during verification.
2026-10-19 15:53:25 +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
1d811b49fd fix(eyou): make zero calibration transactional
(cherry picked from commit abe69c46f0)
2026-09-03 15:12:26 +08:00
lgv
ffef8db559 docs(ethercat): add EYOU setup guide and scripts
(cherry picked from commit d84f84b5ee)
2026-09-03 15:12:26 +08:00
lgv
80c8969ce9 refactor(motor): introduce MotorManager and bus runtimes 2026-06-30 16:04:36 +08:00