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 );