Commit Graph

193 Commits

Author SHA1 Message Date
lgv
8d88108336 fix(touch): start tactile acquisition and enable MuJoCo simulation 2026-11-11 17:53:06 +08:00
lgv
b7d0beec92 feat(touch): split tactile devices and add PX6AX GenX CAN support 2026-11-11 17:14:22 +08:00
lgv
0ca045d59b feat(motor): prepare TCHL semi-closed-loop startup parameters
Prepare every motor in the selected group before normal initialization and report all axes that need a power cycle. Disable and save PrD.00 for TCHL while retaining motor-side encoder conversion, and prevent same-manager retries from bypassing incomplete preparation.

Document the single-axis and six-axis configurations and align the PP test velocity and printed target with the command.

Validation: Debug build and offline initialization checks passed. PP operation was verified on hardware after restoring semi-closed-loop mode.
2026-11-02 14:42:03 +08:00
lgv
13f01feb18 perf(trajectory): cache quintic B-spline segments for sampling
Precompute local polynomial coefficients and evaluate position, velocity, acceleration, and jerk together into trajectory buffers. Preserve control points, trajectory timing, derivative bounds, and clamped endpoints.

Configure the TCHL arm smoother explicitly with a 1 ms sample period and 0.05 rad control-point spacing.

Validation: 9 existing spline tests and 8 headless MuJoCo MoveJ/MoveP cases passed. A 9391-point offline Debug benchmark improved from 180.67 ms to 8.13 ms.
2026-10-28 09:22:17 +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
0813cad96c fix(ethercat): align bundled userspace and kernel modules
Rebuild the bundled IgH EtherCAT 1.7.0 userspace and Linux 6.8.0-138
modules from the same source revision. Record build provenance and update
the shared library links to libethercat.so.1.3.0 so slave configuration
uses a matching ioctl ABI.

Refresh external library discovery when versioned files change and document
installation, module compatibility checks, and ABI troubleshooting.

Validation: verified matching create-slave-config ioctl values (0xc140a423)
in the userspace library and kernel module; checked ethercatctl shell syntax
and git diff --check. No motor commands were executed.
2026-10-19 15:52:59 +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
ed9df8fd31 config: add right EtherCAT arm configuration 2026-09-22 10:28:39 +08:00
f1f3b33872 fix action queue test arm stub 2026-09-21 14:33:23 +08:00
910e0c553d restore json command interface for aubo io 2026-09-21 14:07:48 +08:00
ee08994f6e log grpc client peer for RGB snapshots 2026-09-20 16:56:17 +08:00
d7c2d439a4 fix(quic): restore device inventory heartbeat 2026-09-20 15:03:35 +08:00
7ecf0324f1 fix(config): preserve dev camera definitions 2026-09-20 14:31:15 +08:00
b9b6088800 feat: add camera audio and QUIC streaming 2026-09-20 13:58:20 +08:00
lgv
9d27f903cd Merge branch 'lgv_dev' into dev 2026-09-18 17:12:19 +08:00
lgv
1e2933f330 test(touch):finsh touch test 2026-09-18 16:40:48 +08:00
lgv
7df07fba56 fix(touch): detect stopped speedL controller during touch 2026-09-18 16:39:40 +08:00
lgv
d51ceab46e fix(touch): restore streaming direction tracking during alignment 2026-09-18 15:31:10 +08:00
dd86f417c4 add typed aubo cabinet io interfaces 2026-09-18 15:22:50 +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
b7faae8b77 configure aubo arm and seer agv 2026-09-17 18:06:03 +08:00
77c6def8ca verify active arm motion before stop all tests 2026-09-17 17:57:15 +08:00
c3c58f4563 fix aubo stop all motion cancellation 2026-09-17 17:42:20 +08:00
8ac589d607 implement aubo speed motion commands 2026-09-17 16:46:02 +08:00
aa2c82cba1 fix aubo state queries and remote motion tests 2026-09-17 16:28:37 +08:00
d15d381b1d add grpc action queue support 2026-09-16 14:33:49 +08:00
9d5a40c4f8 add aubo huayan and seer device support 2026-09-16 14:11:37 +08:00
lgv
dbac432565 fix(speedl):fix speedl stop overshoot 2026-09-15 14:50:21 +08:00
lgv
141e9813c2 Merge branch 'lgv_dev_touch_v2' into lgv_dev 2026-09-15 10:43:46 +08:00
lgv
964b0457ca feat:add pbvs touch 2026-09-15 10:42:56 +08:00
lgv
29a899b305 fix(ti5 motors):can send & rec bug 2026-09-11 20:03:46 +08:00
lgv
6bfe01b854 feat(touch): support target pose offsets 2026-09-09 17:47:47 +08:00
lgv
181fb15591 feat(touch): add eye-to-hand PBVS MuJoCo support 2026-09-09 17:28:24 +08:00
lgv
f768960ff2 feat(motor): initialize motor groups by device entry 2026-09-04 13:05:14 +08:00
lgv
708c585f28 fix(camera): decouple MuJoCo rendering and camera reads 2026-09-04 11:07:01 +08:00
lgv
724da3d000 fix(touch): support repeated MuJoCo touch runs 2026-09-04 11:03:14 +08:00
lgv
e05a03e075 fix(mujoco): prevent viewer PiP flicker 2026-09-04 11:01:04 +08:00
lgv
2cfe354c07 feat(gen2): add MuJoCo collision recovery support
(cherry picked from commit 78fd7d7a04)
2026-09-03 15:13:19 +08:00
lgv
944faea389 build(ethercat): add modules for kernel 6.8.0-136
(cherry picked from commit 69c1f62446)
2026-09-03 15:13:18 +08:00
lgv
411aa00187 fix(ethercat): restrict master device access
(cherry picked from commit 4bd4645631)
2026-09-03 15:13:18 +08:00
lgv
d021fea112 fix(aubo): isolate AUBO SDK runtime libraries
(cherry picked from commit 59e31cbfde)
2026-09-03 15:13:18 +08:00
lgv
0c381644c9 test(ethercat): strengthen real motor trajectory coverage
(cherry picked from commit 2ca03d88da)
2026-09-03 15:12:26 +08:00
lgv
1d811b49fd fix(eyou): make zero calibration transactional
(cherry picked from commit abe69c46f0)
2026-09-03 15:12:26 +08:00
lgv
1d07f32479 fix(ethercat): synchronize motor commands and status handling
(cherry picked from commit 3ac7db50fd)
2026-09-03 15:12:26 +08:00
lgv
7be96ca383 fix: avoid vendor libstdc++ conflicts
(cherry picked from commit c43bab8d4c)
2026-09-03 15:12:26 +08:00