/// <summary> /// 旋转限制器 : 本地范围限制【注:需要半径值】 /// </summary> /// <returns>电机</returns> public SD_Motor_Angle Constraint_Angle_Local_Scope() { if (MotorConstraint) { MotorSave = SS_VectorConstraint.Constraint_Angle(MotorSave, -Limit_Radius, Limit_Radius); } return(this); }
/// <summary> /// 旋转限制器 : 本地限制【注:需要限制数值】 /// </summary> /// <returns>电机</returns> public SD_Motor_Angle Constraint_Angle_Local() { if (MotorConstraint) { MotorSave = SS_VectorConstraint.Constraint_Angle(MotorSave, Limit_Min, Limit_Max); } return(this); }