Commit Graph

263 Commits

Author SHA1 Message Date
lgv
8df528ed7c fix(touch): recover SpeedL faults and record MoveP pose samples 2026-11-30 17:16:47 +08:00
lgv
b293b1d6f2 fix(touch): use elapsed visual update time for PBVS 2026-11-26 17:50:55 +08:00
lgv
2ea3dc7467 fix(ethercat): skip expired cycle deadlines and report timing 2026-11-26 17:50:55 +08:00
lgv
b6a7c8a2b4 chore(systemd): add CMVR ES service unit 2026-11-26 17:06:06 +08:00
lgv
68286bf220 chore(config): calibrate Xiaozhao touch and device settings 2026-11-26 17:06:06 +08:00
lgv
ef0fa4ee2c feat(touch): update AprilTag sizing and camera preview overlays 2026-11-26 17:06:06 +08:00
lgv
e22d86deb1 fix(speedl): preserve recoverable braking fault classification 2026-11-26 17:06:06 +08:00
lgv
f7cc998c3d fix(config): tune Xiaozhao right-arm SpeedL limits 2026-11-26 17:03:45 +08:00
lgv
4c4f4971f9 config : add touch config 2026-11-23 11:10:51 +08:00
lgv
7d230fa50c chore(config): remove legacy device templates and update EtherCAT settings 2026-11-19 19:01:54 +08:00
lgv
45b01719e3 feat(xiaozhao): split simulation and real device profiles 2026-11-19 19:00:19 +08:00
lgv
0ebce4d4bb fix(canbus): remove obsolete SocketCAN raw test 2026-11-19 18:59:59 +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
bcb014524d feat(xiaozhao): configure touch return motion and update collision models 2026-11-18 20:09:48 +08:00
lgv
e48ba8ab35 feat(model): regenerate xiaozhao visual meshes from urdf9 sources 2026-11-18 20:02:28 +08:00
lgv
f2d8910bea feat(model): add xiaozhao single-arm collision models and update joint limits 2026-11-18 15:05:55 +08:00
lgv
2c4dff5d7f feat(touch): initialize xiaozhao head and update simulation setup
Register the neck as a three-DOF MotorRobotArm and add optional head
initialization to the touch task. Run a synchronous MoveJ before entering
IDLE, validate the complete joint set, and fail initialization when the
head is unavailable or motion fails. Preserve existing configurations.

Set the head startup target to [0.15, -0.1, 0.1] rad. Include the updated
S05-reference screen layout, matching right-arm preset and documentation.

Validation: Release build and 29 related tests passed. An isolated MuJoCo
probe verified task initialization moving the head from a nonzero pose to
its configured zero target before the final target-value update. The final
configuration parsed successfully. Full visual-servo motion was not tested.
2026-11-18 10:06:43 +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
877d4d6378 config: simplify both seven-axis TCHL arms and restore single-arm template 2026-11-13 16:52:12 +08:00
f46f65fb53 config: use minimal six-axis joint-only TCHL arm settings 2026-11-13 16:47:10 +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
a06b421239 Merge pull request 'feat(head): add USB eRPC joint and expression control' (#2) from tkt_dev into dev
Reviewed-on: http://192.168.28.10:18088/SmartBench/cmvr-es/pulls/2
2026-11-13 10:36:42 +08:00
bef898b1b8 add erpc lib 2026-11-13 10:24:49 +08:00
ac82695467 add dexhand sensordata 2026-11-13 10:22:42 +08:00
lgv
aabc5a9fef feat(model): add xiaozhao MuJoCo model and joint limit tooling
Add the pedestal-free xiaozhao URDF, mesh assets, and separate MuJoCo robot,
environment, and position-actuator XML files. Align joint frames, rotation
directions, inertial transforms, and limits with the calibrated URDF, including
the mirrored right hand, and retain the original SolidWorks URDF export.

Add a model-selectable CSV limit updater with unit conversion, validation,
dry-run support, and rollback on write failures. Synchronize the calibration
CSV, document the workflow, add regression tests, and ignore export logs.

Validation: 14 joint-limit tests passed; all joint and actuator ranges agree
with the URDF. Kinematics and inertial checks passed, along with a 3000-step
MuJoCo 3.3.7 simulation and desktop scene loading.
2026-11-12 13:39:08 +08:00
e714f73601 build(ethercat): synchronize rebuilt x86 userspace artifacts
Update the bundled EtherCAT CLI and libraries, including libethercat.so.1.3.0 and its symlinks. Synchronize installation metadata with the project path and align build documentation with the igc driver. Retain the machine-specific master MAC locally. Verified CLI version, library SONAME/symlinks, script syntax and the application build on device 206.
2026-11-12 11:59:07 +08:00
70237a9559 config: document dual-arm junction ports and add QUIC platform template
Document Port 1 as right-arm positions 1-7 and Port 2 as left-arm positions 8-14. Add the platform_199 QUIC connection template while keeping the QUIC task disabled. Keep all device entries disabled in version control and retain device 206 runtime switches locally. All 44 protobuf configuration files parse successfully.
2026-11-12 11:59:07 +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
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
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
c2720956af config: enable 209 dual arms, LiteS001 hands and mixed-protocol neck 2026-11-11 14:20:58 +08:00
cf6b07c677 config: disable devices by default and add TCHL dual-arm templates 2026-11-09 16:13:38 +08:00
02d5141444 config(lingkong): use V2.38 on can3 and update joint position limits 2026-11-09 15:04:16 +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
392281fe06 config: retain 234 Lingkong device and task settings
Enable Lingkong motor and arm devices, disable AUBO/AGV and QUIC tasks, and retain the device robot identifier and AUBO auto-enable preference. Validate all four configuration files against their protobuf schemas.
2026-11-04 09:52:32 +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