Paparazzi UAS  v6.2_unstable
Paparazzi is a free software Unmanned Aircraft System.
sys_id_chirp.h File Reference
#include "paparazzi.h"
+ Include dependency graph for sys_id_chirp.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void sys_id_chirp_init (void)
 
void sys_id_chirp_run (void)
 
void sys_id_chirp_activate_handler (uint8_t activate)
 
void sys_id_chirp_axis_handler (uint8_t axis)
 
void sys_id_chirp_fstart_handler (float fstart)
 
void sys_id_chirp_fstop_handler (float fstop)
 
void sys_id_chirp_fade_in_activate_handler (uint8_t fade_in)
 
void sys_id_chirp_exponential_activate_handler (uint8_t exponential)
 
uint8_t sys_id_chirp_running (void)
 
void sys_id_chirp_add_values (bool motors_on, bool override_on, pprz_t in_cmd[])
 

Variables

uint8_t chirp_active
 
pprz_t chirp_amplitude
 
float chirp_noise_stdv_onaxis_ratio
 
float chirp_noise_stdv_offaxis
 
float chirp_fstart_hz
 
float chirp_fstop_hz
 
float chirp_length_s
 
uint8_t chirp_axis
 
uint8_t chirp_fade_in
 
uint8_t chirp_exponential
 

Function Documentation

◆ sys_id_chirp_activate_handler()

void sys_id_chirp_activate_handler ( uint8_t  activate)

Definition at line 132 of file sys_id_chirp.c.

References chirp, chirp_active, chirp_exponential, chirp_fade_in, chirp_fstart_hz, chirp_fstop_hz, chirp_init(), chirp_length_s, get_sys_time_float(), start_chirp(), and stop_chirp().

+ Here is the call graph for this function:

◆ sys_id_chirp_add_values()

void sys_id_chirp_add_values ( bool  motors_on,
bool  override_on,
pprz_t  in_cmd[] 
)

Definition at line 217 of file sys_id_chirp.c.

References ACTIVE_CHIRP_AXES, CHIRP_NB_AXES, current_chirp_values, and MAX_PPRZ.

◆ sys_id_chirp_axis_handler()

void sys_id_chirp_axis_handler ( uint8_t  axis)

Definition at line 149 of file sys_id_chirp.c.

References chirp_axis, and CHIRP_NB_AXES.

◆ sys_id_chirp_exponential_activate_handler()

void sys_id_chirp_exponential_activate_handler ( uint8_t  exponential)

Definition at line 175 of file sys_id_chirp.c.

References chirp_exponential.

◆ sys_id_chirp_fade_in_activate_handler()

void sys_id_chirp_fade_in_activate_handler ( uint8_t  fade_in)

Definition at line 170 of file sys_id_chirp.c.

References chirp_fade_in.

◆ sys_id_chirp_fstart_handler()

void sys_id_chirp_fstart_handler ( float  fstart)

Definition at line 156 of file sys_id_chirp.c.

References chirp_fstart_hz, and chirp_fstop_hz.

◆ sys_id_chirp_fstop_handler()

void sys_id_chirp_fstop_handler ( float  fstop)

Definition at line 163 of file sys_id_chirp.c.

References chirp_fstart_hz, and chirp_fstop_hz.

◆ sys_id_chirp_init()

◆ sys_id_chirp_run()

void sys_id_chirp_run ( void  )

Definition at line 201 of file sys_id_chirp.c.

References chirp, chirp_active, chirp_is_running(), chirp_update(), get_sys_time_float(), set_current_chirp_values(), and stop_chirp().

+ Here is the call graph for this function:

◆ sys_id_chirp_running()

uint8_t sys_id_chirp_running ( void  )

Definition at line 144 of file sys_id_chirp.c.

References chirp_active.

Variable Documentation

◆ chirp_active

◆ chirp_amplitude

pprz_t chirp_amplitude

Definition at line 62 of file sys_id_chirp.c.

Referenced by send_chirp(), and set_current_chirp_values().

◆ chirp_axis

uint8_t chirp_axis

Definition at line 61 of file sys_id_chirp.c.

Referenced by send_chirp(), set_current_chirp_values(), and sys_id_chirp_axis_handler().

◆ chirp_exponential

◆ chirp_fade_in

◆ chirp_fstart_hz

◆ chirp_fstop_hz

◆ chirp_length_s

float chirp_length_s

Definition at line 67 of file sys_id_chirp.c.

Referenced by sys_id_chirp_activate_handler(), and sys_id_chirp_init().

◆ chirp_noise_stdv_offaxis

float chirp_noise_stdv_offaxis

Definition at line 64 of file sys_id_chirp.c.

Referenced by send_chirp(), and set_current_chirp_values().

◆ chirp_noise_stdv_onaxis_ratio

float chirp_noise_stdv_onaxis_ratio

Definition at line 63 of file sys_id_chirp.c.

Referenced by send_chirp(), and set_current_chirp_values().