1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-23 16:25:26 +03:00

Added posDecelerationTime (controlled by Pos I) to control braking strength

This commit is contained in:
Konstantin Sharlaimov (DigitalEntity) 2015-11-30 20:14:30 +10:00
parent b40df56f16
commit fd28138535
4 changed files with 9 additions and 5 deletions

View file

@ -223,8 +223,9 @@ typedef struct {
bool enabled;
navigationFlags_t flags;
/* Navigation PID controllers */
/* Navigation PID controllers + pre-computed flight parameters */
navigationPIDControllers_t pids;
float posDecelerationTime;
/* Local system state, both actual (estimated) and desired (target setpoint)*/
navigationEstimatedState_t actualState;