Skip to content

Commit

Permalink
fix brake deadband
Browse files Browse the repository at this point in the history
  • Loading branch information
Netzpfuscher committed Feb 10, 2022
1 parent 4bc29c6 commit c1da472
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common_files/src/app_uartcomm.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ void vTimerCallback( TimerHandle_t xTimer ){

// Apply deadband
utils_deadband(&pwr, config.hyst, 1.0);
utils_deadband(&brake, config.hyst, 1.0);

// Apply throttle curve
pwr = utils_throttle_curve(pwr, config.throttle_exp, config.throttle_exp_brake, config.throttle_exp_mode);
Expand Down

0 comments on commit c1da472

Please sign in to comment.