1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-25 01:05:21 +03:00

configurable boost fastor during braking

This commit is contained in:
Pawel Spychalski (DzikuVx) 2018-05-05 10:25:12 +02:00
parent db3ddd939d
commit dcd8a24bd6
3 changed files with 7 additions and 1 deletions

View file

@ -1247,6 +1247,10 @@ groups:
field: mc.braking_speed_threshold
min: 0
max: 1000
- name: nav_mc_braking_boost_factor
field: mc.braking_boost_factor
min: 0
max: 200
- name: nav_fw_cruise_thr
field: fw.cruise_throttle

View file

@ -117,6 +117,7 @@ PG_RESET_TEMPLATE(navConfig_t, navConfig,
.hover_throttle = 1500,
.auto_disarm_delay = 2000,
.braking_speed_threshold = 100,
.braking_boost_factor = 0,
},
// Fixed wing

View file

@ -142,6 +142,7 @@ typedef struct navConfig_s {
uint16_t hover_throttle; // multicopter hover throttle
uint16_t auto_disarm_delay; // multicopter safety delay for landing detector
uint16_t braking_speed_threshold; // above this speed braking routine might kick in
uint8_t braking_boost_factor;
} mc;
struct {