Commit Graph

263 Commits

Author SHA1 Message Date
f89d5b383f perf(arm): cache B-spline sampling and silence frequent status logs 2026-10-28 16:41:13 +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
c571b476a1 feat(arm): sync TCHL motion stack and release build workflow
Integrate lgv_dev_tc_motor arm planning dependencies while retaining linbo_dev capabilities. Configure seven TCHL axes, preserve existing limits and igc startup defaults, and sync build script updates through 08d9a393.
2026-10-27 17:01:20 +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
10c1c891e1 fix(ethercat): preserve startup script executable permission 2026-10-27 09:50:35 +08:00
4afa72729a feat(motor): integrate TCHL and Lingkong motor support with direct gRPC control 2026-10-27 09:50:08 +08:00
fa3f70a975 feat(arm): expose teaching RPCs and fix AUBO power state sequencing 2026-10-26 17:34:29 +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
dcf89b34d6 feat: report camera depth capabilities and improve SEER AGV support
Add single-arm EtherCAT deployment configuration for device 234 using igc on enp1s0. Preserve configuration backup files outside the commit.
2026-10-19 14:55:36 +08:00
b7e51afec4 dependency: add IgH igc module for kernel 6.8.0-138 2026-10-14 09:48:38 +08:00
e5feff7a28 dependency: add IgH modules for kernel 6.8.0-138 2026-10-14 09:32: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
1360746edb feat: report arm motor current and servo state 2026-10-12 10:31:54 +08:00
acac902aff Merge pull request 'Fix SEER AGV live map streaming and stop mapping' (#1) from codex/agv-live-map-debug into dev
Reviewed-on: http://192.168.28.10:18088/SmartBench/cmvr-es/pulls/1
2026-10-09 17:49:22 +08:00
45883d6ded fix: configure EtherCAT PDOs and expose motor current 2026-10-09 13:45:58 +08:00
44dc81db28 fix SEER stop mapping response handling 2026-10-09 11:03:14 +08:00
55c978dbdd fix AGV live map streaming for SEER 2026-10-09 10:37:44 +08:00
8e2a8615dd feat: update dexhand support and robot device configs 2026-10-09 09:16:10 +08:00
69b06d80c6 add dexhand sensordata 2026-09-30 10:14:20 +08:00
fbd67dab6a add oymotion_dexhand 2026-09-28 15:24:39 +08:00
0103067c3a Expose active camera codec in status 2026-09-24 14:00:04 +08:00
07fec735d5 Merge remote-tracking branch 'origin/dev' into linbo_dev 2026-09-24 11:03:06 +08:00
9b2f5773e6 fix report arm freedrive control mode 2026-09-23 16:04:01 +08:00
51bdbb9776 fix include aubo tcp pose in robot state 2026-09-22 16:37:26 +08:00
061bfc5048 feat expose sdk detected robot arm metadata 2026-09-22 16:23:50 +08:00
09dad196db fix system status device metadata 2026-09-22 15:48:33 +08:00
8051206d91 feat: update current device configuration and dependencies 2026-09-22 13:49:23 +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