Add configurable joint-limit clearance optimization after pose convergence and regression coverage. Enable the optimizer for the Xiaozhao arm with bounded iteration and joint steps.
29 lines
819 B
Protocol Buffer
29 lines
819 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package cmvr.config;
|
|
|
|
import "cmvr/config/joint_limits_config.proto";
|
|
|
|
message PoseIKJointLimitAvoidanceConfig {
|
|
// Optimize distance from joint limits after the pose IK converges.
|
|
bool enable = 1;
|
|
optional int32 max_iters = 2; // Defaults to 20.
|
|
optional double max_joint_step_rad = 3; // Defaults to 0.02 rad.
|
|
}
|
|
|
|
// 只管 QP 这个 IK 的参数
|
|
message PinocchioQpIKConfig {
|
|
string urdf_path = 1;
|
|
string base_frame_name = 2;
|
|
string flange_frame_name = 3;
|
|
string tcp_frame_name = 4;
|
|
|
|
double lambda = 5;
|
|
double w_posrot = 6;
|
|
int32 max_iters = 7;
|
|
double tol = 8;
|
|
double qp_time_limit = 9;
|
|
JointLimitPolicyConfig joint_limit_policy = 10;
|
|
PoseIKJointLimitAvoidanceConfig pose_ik_joint_limit_avoidance = 11;
|
|
}
|