Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
pprz_wave.c File Reference
#include "std.h"
#include "math.h"
#include "pprz_wave.h"
+ Include dependency graph for pprz_wave.c:

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)
 

Detailed Description

Author
Alessandro Collicelli System excitation pure sine wave

Definition in file pprz_wave.c.

Function Documentation

◆ wave_init()

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 foo.

Referenced by sys_id_wave_activate_handler(), sys_id_wave_frequency_hz_set(), sys_id_wave_init(), and sys_id_wave_lag_rad_set().

+ Here is the caller graph for this function:

◆ wave_is_running()

bool wave_is_running ( struct wave_t wave)

Definition at line 52 of file pprz_wave.c.

References foo.

Referenced by sys_id_wave_run().

+ Here is the caller graph for this function:

◆ wave_reset()

void wave_reset ( struct wave_t wave,
float  current_time_s 
)

Definition at line 45 of file pprz_wave.c.

References foo.

Referenced by start_wave(), and stop_wave().

+ Here is the caller graph for this function:

◆ wave_update()

float wave_update ( struct wave_t wave,
float  current_time_s 
)

Definition at line 57 of file pprz_wave.c.

References foo.

Referenced by sys_id_wave_run().

+ Here is the caller graph for this function: