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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.