cmvr-es/protos/cmvr/config/joint_motion_config.proto
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

42 lines
1.3 KiB
Protocol Buffer

syntax = "proto3";
package cmvr.config;
import "cmvr/config/collision_config.proto";
message RrtConnectConfig {
// Omitted fields use planner defaults. Explicit values must be finite and positive.
optional double timeout_s = 1; // Default: 1.0 s.
optional double range_rad = 2; // Default: 0.2, Euclidean joint-space distance.
optional double collision_check_step_rad = 3; // Default: 0.02 rad per joint.
}
message QuinticBSplineConfig {
// Reference control-point spacing in Euclidean joint space; default 0.05 rad.
// Must be finite and positive. Actual control points are not equally spaced.
optional double control_point_spacing_rad = 1;
}
message JointTrajectorySmootherConfig {
// Sampling period in seconds; default 0.001, must be finite and positive.
optional double sample_period_s = 1;
oneof algorithm {
QuinticBSplineConfig quintic_bspline = 2;
}
}
enum JointPathAlgorithm {
JOINT_PATH_ALGORITHM_UNKNOWN = 0;
RRT_CONNECT = 1;
}
message JointPathConfig {
reserved 5, 6;
reserved "quintic_bspline";
JointPathAlgorithm algorithm = 2;
RrtConnectConfig rrt_connect = 1;
// Required by MotorRobotArm::moveP; each arm owns its checker.
CollisionCheckerConfig collision_checker = 3;
optional double minimum_distance_m = 4; // Default: 0.01 m.
}