stancecoke
🏍️ Giga poster
I've added the next feature, the torque override for having both, fast reaction if needed and smooth assitance for cruising.
You can define a torque override threshold for each mode now. The motor current setpoint from the override feature is mapped from the threshold to the max torque (3300mV) to the range from zero to max motor current. This means you can decide for yourself whether you want this “kick down” only when you press the pedal very hard, or every time you accelerate. As I don't like this behaviour, I will set the threshold to 3300, so it will never kick in

You can define a torque override threshold for each mode now. The motor current setpoint from the override feature is mapped from the threshold to the max torque (3300mV) to the range from zero to max motor current. This means you can decide for yourself whether you want this “kick down” only when you press the pedal very hard, or every time you accelerate. As I don't like this behaviour, I will set the threshold to 3300, so it will never kick in















