Commit Graph

121 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
70bd28fe4e fix(socketcan): restore bounded receive and adapt regression tests
Keep the poll-based receive implementation and explicit timeout overload. Bound default receive to 100 ms for idle-bus shutdown, clear stale output frames, and adapt the test peer to the current API. Validate complete Release all-target build, seven SocketCAN cases, and eleven offline regression executables.
2026-11-19 17:29:28 +08:00
173a5cbf7d feat(huayan): control cabinet CO IO with Aubo-compatible JSON parameters 2026-11-19 12:50:42 +08:00
55736f58ff Merge dev updates and simplify joint-only arm configurations
Keep dev EtherCAT/TCHL/Eyou implementations and unified RobotModel; preserve Lingkong CAN grouping and existing client APIs. Simplify TCHL dual arm, Lingkong neck and Eyou dual arm following the tchl_arm template. Retain legacy hand configuration compatibility alongside the new touch devices. Disable repository device defaults. Validate Release cmvr_es, eight offline/simulation test suites, and arm protobuf configuration parsing.
2026-11-19 09:57:46 +08:00
lgv
f088c5f2b9 Merge origin/dev into dev and retain unified RobotModel
Keep the local cmvr::RobotModel used by kinematics and collision detection.
Adapt arm drivers and gRPC metadata handling to the retained model.

Validation: cmvr_es builds; 24 collision tests and 12 IK tests pass.
2026-11-18 20:53:38 +08:00
lgv
90bae95654 feat(mujoco): integrate xiaozhao dual-arm and touch simulation
Update xiaozhao geometry, base axes, TCPs, neck joints and actuators.
Add mesh generation tools, simplified visuals, screen and hand tags,
and hand/head camera attachments.

Configure both arms and enable the right-arm visual touch workflow with
updated calibration, a camera-visible initial pose and higher-resolution
external perception. Keep touch tests distance-limited with ZeroSimTouch.

Release MuJoCo joint state control on torqueOff, latch the disabled state
until torqueOn, and add regression coverage for actuator and fallback modes.

Validation: isolated device/task initialization, camera acquisition and
AprilTag pose checks passed. Full visual-servo motion was not validated.
2026-11-17 17:26:05 +08:00
cdf8596c11 Merge dev into linbo_dev: USB head control and SEER map updates
Keep linbo_dev device templates and gRPC port 50052; leave the new USB head disabled by default. Validated with make -j8 and four offline USB head/gRPC test suites.
2026-11-13 10:51:52 +08:00
ac82695467 add dexhand sensordata 2026-11-13 10:22:42 +08:00
d6a1635b1b feat(motor): select mixed-protocol groups by motor system ID
Preserve exact single-group selection and allow a distinct MotorConfig.id to select all groups in a dedicated configuration. Share validation with DeviceFactory and reject ambiguous group IDs, duplicate motor IDs and duplicate joint names. All 9 motor-manager shutdown and group-selection tests pass; cmvr_es builds with -j8.
2026-11-12 11:59:07 +08:00
bbcc716195 style(dexhand): expand OYMotion adapter lifecycle and SDK calls
Expand compact control flow, declarations and SDK calls for readability without changing the hand command mapping or behavior. Validated by rebuilding cmvr_es with -j8 on device 206.
2026-11-12 11:59:06 +08:00
403c194f74 fix(arm): report effective configured joint limits in GetArmInfo
Override MotorRobotArm queryRobotModel to expose the solver's effective position limits in chain joint order instead of the original URDF metadata. Preserve the shared model and suppress position limits when enforcement is disabled or bounds are invalid.

Validate DLS and QP custom limits with reversed config order, explicit URDF limits, and disabled limits in headless MuJoCo regressions. Both regression tests failed before the fix and passed afterward; cmvr_es built successfully with -j8 on device 206.
2026-11-12 11:32:39 +08:00
52f9fc376f fix(shutdown): bound RPC shutdown and unblock motor status readers
Cancel persistent gRPC streams after a 500 ms grace period and serialize server lifecycle operations without holding the status mutex during shutdown.

Snapshot motors before disabling drives so acknowledgement waits do not hold the registry lock. On unhealthy EtherCAT transport, queue a best-effort TCHL disable and return an unconfirmed result without waiting for stale feedback.

Add hardware-free regressions for open client streams, immediate/repeated server shutdown, and status reads during a stalled drive acknowledgement. Keep all device entries disabled in version control.
2026-11-12 10:24:11 +08:00
2a5ef98649 fix(arm): track power command results and sync 206 device templates
Initialize arm power state to false and update it only after successful arm-level enable or disable commands. Preserve Lingkong drive feedback diagnostics and add focused MuJoCo regression tests.

Sync deployment templates from device 206, remove 209-specific neck/left-hand entries, and keep all 40 device entries disabled in version control. Preserve deployed runtime switches separately.
2026-11-12 09:52:17 +08:00
lgv
b7d0beec92 feat(touch): split tactile devices and add PX6AX GenX CAN support 2026-11-11 17:14:22 +08:00
567ae938ef feat(head): add USB eRPC head control and expression gRPC
Add a head-local USB serial/eRPC backend through the existing device factory,
configuration, BioHeadService, logging and control arbiter. Support typed joint
commands, custom five-joint expressions and six frozen upper-computer presets
with 20 ms transitions, validation, ACK baselines and cancellation.

Retain existing ESP32 behavior and API field numbers. Publish only USB head
registration; preserve the machine-local AGV disable override in the worktree.

Validation: cmvr_es build; four head test targets (17 backend and 14 gRPC cases,
plus protocol and serial tests); live USB connection and gRPC state query.
The user additionally confirmed physical testing passed.
2026-11-11 14:58:50 +08:00
021ccfb085 fix(lingkong): support CAN protocol versions and report actual drive state 2026-11-09 15:04:15 +08:00
250775970c feat: integrate AUBO coordinate queue controls and routed QUIC endpoint reporting 2026-11-09 13:49:14 +08:00
89091dc435 feat(arm): expose joint position limits in GetArmInfo 2026-11-09 13:44:29 +08:00
52166f2402 merge: integrate remote motor fixes and retain 205 AUBO configuration 2026-11-03 15:23:14 +08:00
048cea580d feat(aubo): add three-point work frames and reliable service startup 2026-11-03 15:18:10 +08:00
de124daa8a fix(lingkong): support permanent zero and robust motor shutdown
Treat non-0x10 native states as running only when the error byte is zero,
while retaining raw diagnostics and blocking motion on faults.

Save zero with CAN 0x19 and validate its offset reply without position
readback or automatic reboot. Propagate calibration failures to the arm API.

Return shutdown failures without throwing and continue motor/bus cleanup
after per-device errors. Keep the three-node Lingkong configuration.

Validation: 35 fake-transport protocol tests and 2 motor-manager shutdown
tests passed; full make install completed. No physical zero writes or
motion tests were performed for these changes.
2026-11-02 17:30:34 +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
2ecd74b044 fix(arm): configure Lingkong three-axis control and use configured AUBO frames 2026-10-30 16:43:47 +08:00
3b14ca97e6 feat(aubo): add CSV teaching trajectory recording and smooth replay 2026-10-29 12:00:26 +08:00
696d198801 fix(motor): correct Lingkong control and CAN shutdown 2026-10-29 11:45:40 +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
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
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
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
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
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
8051206d91 feat: update current device configuration and dependencies 2026-09-22 13:49:23 +08:00
910e0c553d restore json command interface for aubo io 2026-09-21 14:07:48 +08:00
d7c2d439a4 fix(quic): restore device inventory heartbeat 2026-09-20 15:03:35 +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