Add feature to VCU code so that the pedal ranges can be updated without re-flashing the VCU
(lower and upper out of range boundaries, and start and stop thresholds for torque calculation)
rough ideas:
send CAN message with fields PARAM and VALUE: param is the field to set, and value is the value to set it to
send CAN message to tell VCU to set current position to PARAM: param would be field to set, and vcu will auto set value to current
reject out of range (less than 0 or greater than 4095)
has to keep this value in eeprom or other NVM
other things:
add a CAN message to tell us the current settings (either periodic or triggered)
add a CAN message to tell us the current torque calc (give visibility into the torque calculation function)
Add feature to VCU code so that the pedal ranges can be updated without re-flashing the VCU (lower and upper out of range boundaries, and start and stop thresholds for torque calculation)
rough ideas:
send CAN message with fields PARAM and VALUE: param is the field to set, and value is the value to set it to
send CAN message to tell VCU to set current position to PARAM: param would be field to set, and vcu will auto set value to current
reject out of range (less than 0 or greater than 4095)
has to keep this value in eeprom or other NVM
other things:
add a CAN message to tell us the current settings (either periodic or triggered)
add a CAN message to tell us the current torque calc (give visibility into the torque calculation function)