Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

V0.2.2

Latest
Compare
Choose a tag to compare
@patmagauran patmagauran released this 11 Jan 03:50
· 3 commits to master since this release

I tried to fix the clicking of the brake trigger some people experienced. In doing so I did the following things:

  • The throttle output is smoothed and the brake output can be smoothed. These are configured with the EWMA_ALPHA_{THROTTLE, BRAKE, BRAKE_FREQ} entries in the appsettings.ini
  • I fixed a bug in the mapping from Brake depression to resistance, changing the maximum depression from 1 to 255.
  • Only use two modes for the brake trigger now: VibrationResistance and Resistance.
  • Don't enable VibrationResistance unless the brake is depressed by the amount specified in BRAKE_VIBRATION__MODE_START
  • Set a minimum Vibration value to avoid vibrating at low frequencies. This is customizable with MIN_BRAKE_VIBRATION. I feel as if the low frequencies are harsher on the mechanical parts of the controller so they should be avoided.
  • Added a --csv [Filename] option to output a csv of the data so we can analyze it to better tune values and fix future issues.