45 YawControl(
double wheelbase,
double steering_ratio,
double steering_wheel_angle_max = INFINITY,
double lateral_accel_max = INFINITY) :
51 double steering_wheel_angle;
52 if (fabsf(speed) > 0.5) {
55 if (fabsf(cmd_vx) > 0.1) {
61 steering_wheel_angle = 0;
71 return steering_wheel_angle;
82 #endif // YAWCONTROL_H double getSteeringWheelAngle(double cmd_vx, double cmd_wz, double speed)
double lateral_accel_max_
YawControl(double wheelbase, double steering_ratio, double steering_wheel_angle_max=INFINITY, double lateral_accel_max=INFINITY)
void setWheelBase(double val)
void setLateralAccelMax(double val)
double steering_wheel_angle_max_
void setSteeringRatio(double val)