mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 22:17:01 +08:00
[rotorcraft] PRINT_CONFIG_VAR for GUIDANCE_V_NOMINAL_HOVER_THROTTLE
This commit is contained in:
@@ -44,11 +44,11 @@
|
||||
#if (GUIDANCE_V_HOVER_KP < 0) || \
|
||||
(GUIDANCE_V_HOVER_KD < 0) || \
|
||||
(GUIDANCE_V_HOVER_KI < 0)
|
||||
#warning "ALL control gains are now positive!!!"
|
||||
#error "ALL control gains are now positive!!!"
|
||||
#endif
|
||||
|
||||
#if defined GUIDANCE_V_INV_M
|
||||
#warning "GUIDANCE_V_INV_M has been removed. If you don't want to use adaptive hover, please define GUIDANCE_V_NOMINAL_HOVER_THROTTLE"
|
||||
#ifdef GUIDANCE_V_NOMINAL_HOVER_THROTTLE
|
||||
PRINT_CONFIG_VAR(GUIDANCE_V_NOMINAL_HOVER_THROTTLE)
|
||||
#endif
|
||||
|
||||
uint8_t guidance_v_mode;
|
||||
|
||||
@@ -84,7 +84,7 @@ extern int32_t guidance_v_fb_cmd; ///< feed-back command
|
||||
extern int32_t guidance_v_delta_t;
|
||||
|
||||
/** nominal throttle for hover.
|
||||
* This is only used if #"GUIDANCE_V_NOMINAL_HOVER_THROTTLE is defined!
|
||||
* This is only used if #GUIDANCE_V_NOMINAL_HOVER_THROTTLE is defined!
|
||||
* Unit: factor of #MAX_PPRZ with range 0.1 : 0.9
|
||||
*/
|
||||
extern float guidance_v_nominal_throttle;
|
||||
|
||||
Reference in New Issue
Block a user