18{
21
22
24 .yaw_pid_p = 1.369,
25 .yaw_pid_i = 0.25,
26 .yaw_pid_d = 0.0,
27 .tcs_pid_p_lowerBound_front = 35.0,
28 .tcs_pid_p_upperBound_front = 55.0,
29 .tcs_pid_p_lowerBound_rear = 28.0,
30 .tcs_pid_p_upperBound_rear = 35.0,
31 .tcs_pid_i = 0.0,
32 .tcs_pid_d = 0.0,
33 .useLaunch = false,
34 .usePIDTV = true,
35 .useTCSLimitedYawPID = true,
36 .useNormalForce = false,
37 .useTractionControl = true,
38 .usePowerLimit = true,
39 .usePIDPowerLimit = false,
40 .useDecoupledYawBrakes = true,
41 .useDiscontinuousYawPIDBrakes = false,
42 .tcsSLThreshold = 0.2,
43 .launchSL = 0.2,
44 .launchDeadZone = 20.0,
45 .launchVelThreshold = 0.75,
46 .tcsVelThreshold = 2.5,
47 .yawPIDMaxDifferential = 10.0,
48 .yawPIDErrorThreshold = 0.1,
49 .yawPIDVelThreshold = 1.0,
50 .yawPIDCoastThreshold = 2.5,
51 .yaw_pid_brakes_p = 0.25,
52 .yaw_pid_brakes_i = 0.0,
53 .yaw_pid_brakes_d = 0.0,
54 .decoupledYawPIDBrakesMaxDIfference = 2,
55 .discontinuousBrakesPercentThreshold = 0.4,
57 .RegenLimit = -10.0,
58 .useNoRegen5kph = true,
59 .useTorqueBias = true,
60 .DriveTorquePercentFront = 0.5,
61 .BrakeTorquePercentFront = 0.6,
62 .MechPowerMaxkW = 63.0,
63 .launchLeftRightMaxDiff = 2.0,
64 .tcs_pid_lower_rpm_front = 0.0,
65 .tcs_pid_upper_rpm_front = 5000.0,
66 .tcs_pid_lower_rpm_rear = 0.0,
67 .tcs_pid_upper_rpm_rear = 5000.0,
68
69
73 };
75}
this class with both take in sensor inputs as well as handle calculations for various derived states ...
const float AMK_MAX_TORQUE
TorqueControllerCASEWrapper< CircularBufferType > case_wrapper & case_system
CASEConfiguration case_config
float AbsoluteTorqueLimit