[rotorcraft] PRINT_CONFIG_VAR for GUIDANCE_V_NOMINAL_HOVER_THROTTLE

This commit is contained in:
Felix Ruess
2013-08-04 22:57:08 +02:00
parent e5012834d4
commit d0c75fe3d0
2 changed files with 4 additions and 4 deletions
@@ -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;