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.
23 lines
871 B
Bash
Executable File
23 lines
871 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# Headless MuJoCo only. Never initializes the physical robot.
|
|
repo_root="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
build_dir="${CMVR_BUILD_DIR:-${repo_root}/cmake-build-debug}"
|
|
cmake --build "$build_dir" --target speedl_reversal_mujoco_test -j 8
|
|
cd "$repo_root"
|
|
python3 - "$build_dir" "$@" <<'PY'
|
|
from pathlib import Path
|
|
import os
|
|
import sys
|
|
|
|
build = Path(sys.argv[1]).resolve()
|
|
# Prefer every freshly built project library over output/lib's installed copy.
|
|
paths = sorted({str(path.parent) for path in build.rglob('*.so')})
|
|
paths.append(str(Path('output/lib').resolve()))
|
|
env = os.environ.copy()
|
|
env['LD_LIBRARY_PATH'] = ':'.join(paths + [env.get('LD_LIBRARY_PATH', '')])
|
|
binary = build / 'cmvr-es/devices/arm/motor_robot_arm/speedl_reversal_mujoco_test'
|
|
os.execve(str(binary), [str(binary), *sys.argv[2:]], env)
|
|
PY
|