45 #ifndef PPRZ_DOUBLET_H
46 #define PPRZ_DOUBLET_H
72 float extra_waiting_time_s,
float current_time_s,
uint8_t mod3211);
void doublet_init(struct doublet_t *doublet, float length_s, float extra_waiting_time_s, float current_time_s, uint8_t mod3211)
bool doublet_is_running(struct doublet_t *doublet, float current_time_s)
void doublet_reset(struct doublet_t *doublet, float current_time_s)
float doublet_update(struct doublet_t *doublet, float current_time_s)
Initialize with doublet_init.
static struct doublet_t doublet
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.