Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design/add feature to remotely update pedal calibration over CAN #23

Open
mathbrook opened this issue Feb 5, 2024 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@mathbrook
Copy link
Member

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant