Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the source code of this file.
Functions | |
void | wave_init (struct wave_t *wave, float start_time_s, float current_time_s, float frequency_hz, float lag_rad) |
void | wave_reset (struct wave_t *wave, float current_time_s) |
bool | wave_is_running (struct wave_t *wave) |
float | wave_update (struct wave_t *wave, float current_time_s) |
Definition in file pprz_wave.c.
void wave_init | ( | struct wave_t * | wave, |
float | start_time_s, | ||
float | current_time_s, | ||
float | frequency_hz, | ||
float | lag_rad | ||
) |
Definition at line 33 of file pprz_wave.c.
References wave_t::current_time_s, wave_t::current_value, wave_t::frequency_hz, wave_t::is_running, wave_t::lag_rad, and wave_t::start_time_s.
Referenced by sys_id_wave_activate_handler(), sys_id_wave_frequency_hz_set(), sys_id_wave_init(), and sys_id_wave_lag_rad_set().
bool wave_is_running | ( | struct wave_t * | wave | ) |
Definition at line 52 of file pprz_wave.c.
References wave_t::is_running.
Referenced by sys_id_wave_run().
void wave_reset | ( | struct wave_t * | wave, |
float | current_time_s | ||
) |
Definition at line 45 of file pprz_wave.c.
References wave_t::current_time_s, wave_t::current_value, and wave_t::start_time_s.
Referenced by start_wave(), and stop_wave().
float wave_update | ( | struct wave_t * | wave, |
float | current_time_s | ||
) |
Definition at line 57 of file pprz_wave.c.
References wave_t::current_value, wave_t::frequency_hz, wave_t::lag_rad, and wave_t::start_time_s.
Referenced by sys_id_wave_run().