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:
parent
db3ddd939d
commit
dcd8a24bd6
3 changed files with 7 additions and 1 deletions
|
@ -1246,7 +1246,11 @@ groups:
|
||||||
- name: nav_mc_braking_speed_threshold
|
- name: nav_mc_braking_speed_threshold
|
||||||
field: mc.braking_speed_threshold
|
field: mc.braking_speed_threshold
|
||||||
min: 0
|
min: 0
|
||||||
max: 1000
|
max: 1000
|
||||||
|
- name: nav_mc_braking_boost_factor
|
||||||
|
field: mc.braking_boost_factor
|
||||||
|
min: 0
|
||||||
|
max: 200
|
||||||
|
|
||||||
- name: nav_fw_cruise_thr
|
- name: nav_fw_cruise_thr
|
||||||
field: fw.cruise_throttle
|
field: fw.cruise_throttle
|
||||||
|
|
|
@ -117,6 +117,7 @@ PG_RESET_TEMPLATE(navConfig_t, navConfig,
|
||||||
.hover_throttle = 1500,
|
.hover_throttle = 1500,
|
||||||
.auto_disarm_delay = 2000,
|
.auto_disarm_delay = 2000,
|
||||||
.braking_speed_threshold = 100,
|
.braking_speed_threshold = 100,
|
||||||
|
.braking_boost_factor = 0,
|
||||||
},
|
},
|
||||||
|
|
||||||
// Fixed wing
|
// Fixed wing
|
||||||
|
|
|
@ -142,6 +142,7 @@ typedef struct navConfig_s {
|
||||||
uint16_t hover_throttle; // multicopter hover throttle
|
uint16_t hover_throttle; // multicopter hover throttle
|
||||||
uint16_t auto_disarm_delay; // multicopter safety delay for landing detector
|
uint16_t auto_disarm_delay; // multicopter safety delay for landing detector
|
||||||
uint16_t braking_speed_threshold; // above this speed braking routine might kick in
|
uint16_t braking_speed_threshold; // above this speed braking routine might kick in
|
||||||
|
uint8_t braking_boost_factor;
|
||||||
} mc;
|
} mc;
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue