|
Paparazzi UAS
v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
|
Distributed circular formation algorithm. More...
#include "std.h"
Include dependency graph for dcf.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | dcf_con |
| struct | dcf_tab |
Macros | |
| #define | DCF_MAX_NEIGHBORS 4 |
Functions | |
| void | dcf_init (void) |
| bool | distributed_circular (uint8_t wp) |
| void | send_theta_to_nei (void) |
| void | parseRegTable (void) |
| void | parseThetaTable (void) |
Variables | |
| struct dcf_con | dcf_control |
| struct dcf_tab | dcf_tables |
Distributed circular formation algorithm.
Definition in file dcf.h.
| struct dcf_con |
| struct dcf_tab |
| Data Fields | ||
|---|---|---|
| int16_t | error_sigma[DCF_MAX_NEIGHBORS] | |
| uint32_t | last_theta[DCF_MAX_NEIGHBORS] | |
| int16_t | tableNei[DCF_MAX_NEIGHBORS][4] | |
| #define DCF_MAX_NEIGHBORS 4 |
Default number of neighbors per aircraft
Definition at line 34 of file dcf.h.
Referenced by dcf_init(), distributed_circular(), parseRegTable(), parseThetaTable(), send_dcf(), and send_theta_to_nei().
| void dcf_init | ( | void | ) |
Definition at line 63 of file dcf.c.
References DCF_MAX_NEIGHBORS, dcf_tables, DefaultPeriodic, dcf_tab::error_sigma, register_periodic_telemetry(), send_dcf(), and dcf_tab::tableNei.
Here is the call graph for this function:| bool distributed_circular | ( | uint8_t | wp | ) |
Definition at line 75 of file dcf.c.
References AP_MODE_AUTO2, autopilot_get_mode(), dcf_con::broadtime, c1, c2, DCF_MAX_NEIGHBORS, dcf_tables, dcf_tab::error_sigma, get_sys_time_msec(), gvf_control, gvf_ellipse_XY(), dcf_con::k, dcf_tab::last_theta, last_transmision, p, dcf_con::radius, gvf_con::s, send_theta_to_nei(), stateGetPositionEnu_f(), dcf_tab::tableNei, dcf_con::theta, dcf_con::timeout, timeout, waypoints, point::x, EnuCoor_f::x, point::y, and EnuCoor_f::y.
Here is the call graph for this function:| void parseRegTable | ( | void | ) |
Definition at line 140 of file dcf.c.
References ac_id, DCF_MAX_NEIGHBORS, dcf_tables, dl_buffer, and dcf_tab::tableNei.
| void parseThetaTable | ( | void | ) |
Definition at line 169 of file dcf.c.
References DCF_MAX_NEIGHBORS, dcf_tables, dl_buffer, get_sys_time_msec(), dcf_tab::last_theta, and dcf_tab::tableNei.
Here is the call graph for this function:| void send_theta_to_nei | ( | void | ) |
Definition at line 125 of file dcf.c.
References DCF_MAX_NEIGHBORS, dcf_tables, DefaultChannel, DefaultDevice, dcf_tab::tableNei, and dcf_con::theta.
Referenced by distributed_circular().
Here is the caller graph for this function:| struct dcf_tab dcf_tables |
Definition at line 59 of file dcf.c.
Referenced by dcf_init(), distributed_circular(), parseRegTable(), parseThetaTable(), send_dcf(), and send_theta_to_nei().