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

Go to the source code of this file.

Data Structures

struct  doublet_t
 Initialize with doublet_init. More...
 

Functions

void doublet_init (struct doublet_t *doublet, float length_s, float extra_waiting_time_s, float current_time_s, uint8_t mod3211)
 
void doublet_reset (struct doublet_t *doublet, float current_time_s)
 
bool doublet_is_running (struct doublet_t *doublet, float current_time_s)
 
float doublet_update (struct doublet_t *doublet, float current_time_s)
 

Data Structure Documentation

◆ doublet_t

struct doublet_t

Initialize with doublet_init.

Definition at line 56 of file pprz_doublet.h.

Data Fields
float current_time_s
float current_value
uint8_t mod
float t0
float t1
float t2
float t3
float t4
float t5
float tf
float total_length_s

Function Documentation

◆ doublet_init()

void doublet_init ( struct doublet_t doublet,
float  length_s,
float  extra_waiting_time_s,
float  current_time_s,
uint8_t  mod3211 
)

◆ doublet_is_running()

bool doublet_is_running ( struct doublet_t doublet,
float  current_time_s 
)

Definition at line 67 of file pprz_doublet.c.

References doublet, doublet_t::t0, and doublet_t::total_length_s.

Referenced by doublet_update(), and sys_id_doublet_run().

+ Here is the caller graph for this function:

◆ doublet_reset()

void doublet_reset ( struct doublet_t doublet,
float  current_time_s 
)

Definition at line 61 of file pprz_doublet.c.

References doublet_t::current_time_s, doublet_t::current_value, doublet, and doublet_t::t0.

Referenced by start_doublet(), and stop_doublet().

+ Here is the caller graph for this function:

◆ doublet_update()

float doublet_update ( struct doublet_t doublet,
float  current_time_s 
)

Definition at line 72 of file pprz_doublet.c.

References doublet_t::current_value, doublet, doublet_is_running(), doublet_t::mod, doublet_t::t0, doublet_t::t1, doublet_t::t2, doublet_t::t3, and doublet_t::t4.

Referenced by sys_id_doublet_run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: