From 2fa4abd640fee45868a5f9f3cac1edbd6d07d09e Mon Sep 17 00:00:00 2001 From: Pascal Brisset Date: Thu, 24 May 2007 14:37:07 +0000 Subject: [PATCH] *** empty log message *** --- conf/settings/gyro.xml | 15 +++++++++++++++ sw/airborne/fw_h_ctl.h | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 conf/settings/gyro.xml diff --git a/conf/settings/gyro.xml b/conf/settings/gyro.xml new file mode 100644 index 0000000000..e7089f1c82 --- /dev/null +++ b/conf/settings/gyro.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/sw/airborne/fw_h_ctl.h b/sw/airborne/fw_h_ctl.h index d74f5a390d..c5e48a7263 100644 --- a/sw/airborne/fw_h_ctl.h +++ b/sw/airborne/fw_h_ctl.h @@ -73,6 +73,8 @@ extern float h_ctl_hi_throttle_roll_rate_pgain; extern float h_ctl_lo_throttle_roll_rate_pgain; extern float h_ctl_roll_rate_igain; extern float h_ctl_roll_rate_dgain; + +#define fw_h_ctl_SetRollRatePGain(v) { h_ctl_hi_throttle_roll_rate_pgain = v; h_ctl_lo_throttle_roll_rate_pgain = v; } #endif extern void h_ctl_init( void );