-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Plane: Add fwd. throttle cutoff voltage parameter
Updated the forward throttle battery voltage compensation feature to disable the throttle entirely when the sag-compensated voltage drops below the new parameter FWD_THR_CUTOFF_V. Key changes: - Added new parameter FWD_THR_CUTOFF_V to control the voltage threshold for this feature. The default value of 0 matches the original behavior of never cutting the throttle due to low voltage. - Modified forward throttle battery voltage compensation logic in the servos code to cut off the throttle in auto-throttle modes if the resting voltage estimate of the FWD_BAT_IDX battery is under FWD_THR_CUTOFF_V.
- Loading branch information
Showing
3 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters