32 #include "generated/airframe.h"
36 #ifndef SYS_ID_AUTO_DOUBLETS_N_ACTUATORS
37 #error No doublet actuators SYS_ID_AUTO_DOUBLETS_N_ACTUATORS defined
40 #ifndef SYS_ID_AUTO_DOUBLETS_ACTUATORS
41 #error No doublet actuators SYS_ID_AUTO_DOUBLETS_ACTUATORS defined
44 #ifndef SYS_ID_AUTO_DOUBLETS_AMPLITUDE
45 #error No doublet actuators SYS_ID_AUTO_DOUBLETS_AMPLITUDE defined
48 #ifndef SYS_ID_AUTO_DOUBLETS_TIME
49 #define SYS_ID_AUTO_DOUBLETS_TIME 0.5
52 #ifndef SYS_ID_AUTO_DOUBLETS_INTERVAL
53 #define SYS_ID_AUTO_DOUBLETS_INTERVAL 5.0
56 #ifndef SYS_ID_AUTO_DOUBLETS_REPEATS
57 #define SYS_ID_AUTO_DOUBLETS_REPEATS 5
122 if (actuator_index >= SYS_ID_AUTO_DOUBLETS_N_ACTUATORS)
uint8_t sys_id_auto_doublets_n_doublets
#define SYS_ID_AUTO_DOUBLETS_REPEATS
uint8_t sys_id_auto_doublets_actuators[SYS_ID_AUTO_DOUBLETS_N_ACTUATORS]
#define SYS_ID_AUTO_DOUBLETS_INTERVAL
int8_t sys_id_auto_doublets_n_repeat
float sys_id_auto_doublets_interval_time
void periodic_sys_id_auto_doublets(void)
void sys_id_auto_doublets_on_deactivation(void)
void init_sys_id_auto_doublets(void)
void perform_sys_id_auto_doublets(uint8_t actuator_index)
bool sys_id_auto_doublets_activated
uint8_t sys_id_auto_doublets_counter
float sys_id_auto_doublets_time
void sys_id_auto_doublets_on_activation(uint8_t active)
float sys_id_auto_doublets_start_time_s
#define SYS_ID_AUTO_DOUBLETS_TIME
float sys_id_auto_doublets_timer
int16_t sys_id_auto_doublets_amplitude[SYS_ID_AUTO_DOUBLETS_N_ACTUATORS]
void sys_id_doublet_activate_handler(uint8_t activate)
void sys_id_doublet_axis_handler(uint8_t axis)
Architecture independent timing functions.
static float get_sys_time_float(void)
Get the time in seconds since startup.
short int16_t
Typedef defining 16 bit short type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
signed char int8_t
Typedef defining 8 bit char type.