"controller": [
["fileName"],
["drivingDynamics/supervisors/tractionControl" {"name": "tractionControl"}]
["drivingDynamics/supervisors/slipProviders/virtualSpeedSlip"]
],
"tractionControl": {
"tractionControlledMotors": ["frontMotor", "rearMotor"]
}
"motorTorqueControl": {
"useForTractionControl": true,
"tractionControl": {
"wheelGroupSettings":[
["motorName", "slipThreshold", "kP", "kI", "kD", "integralInCoef", "integralOutCoef"],
["frontMotor", 0.075, 1.5, 1, 0.25, 20, 2]
["rearMotor", 0.075, 1.5, 1, 0.25, 20, 2]
]
}
}
"brakeControl": {
"useForTractionControl": true,
"tractionControl": {
"wheelGroupSettings":[
["motorName", "slipThreshold", "slipRangeThreshold", "maxVelocity" "kP", "kI", "kD", "integralInCoef", "integralOutCoef"],
["frontMotor", 0.075, 0.15, 10, 2.5, 2.5, 0.05, 20, 2]
["rearMotor", 0.075, 0.15, 10, 2.5, 2.5, 0.05, 20, 2]
]
}
}
}
Adjust PID Coefficients (kP, kI, kD): Increasing kP slightly can make the system react more aggressively to initial slip, but too high a value may cause instability. Adjusting kI and reducing kD might help in managing sustained slip without overreacting to minor fluctuations.
Remember, these adjustments should be done carefully and tested extensively, as the balance between traction control and acceleration performance can be delicate. Too aggressive traction control might prevent wheel slip but can also limit acceleration speed if not tuned correctly.