|
Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
Include dependency graph for trilateration.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | Anchor |
| Anchor structure. More... | |
Functions | |
| int | trilateration_init (struct Anchor *anchors) |
| Init internal trilateration structures. More... | |
| int | trilateration_compute (struct Anchor *anchors, struct EnuCoor_f *pos) |
| Compute trilateration based on the latest measurments. More... | |
Definition in file trilateration.h.
| struct Anchor |
Anchor structure.
Definition at line 34 of file trilateration.h.
Collaboration diagram for Anchor:| Data Fields | ||
|---|---|---|
| float | distance | last measured distance |
| uint16_t | id | anchor ID |
| struct EnuCoor_f | pos | position of the anchor |
| float | time | time of the last received data |
Compute trilateration based on the latest measurments.
| [in] | anchors | array of anchors with updated distance measurements |
| [out] | pos | computed position |
Definition at line 87 of file trilateration.c.
References D, d2, Anchor::distance, Ex, Ey, Ez, I, init_failed, J, P, EnuCoor_f::x, EnuCoor_f::y, and EnuCoor_f::z.
Referenced by dw1000_arduino_event().
Here is the caller graph for this function:| int trilateration_init | ( | struct Anchor * | anchors | ) |
Init internal trilateration structures.
| [in] | anchors | array of anchors with their location |
Definition at line 39 of file trilateration.c.
References D, Ex, Ey, Ez, float_vect_add(), float_vect_diff(), float_vect_dot_product(), float_vect_norm(), float_vect_sdiv(), float_vect_smul(), I, init_failed, J, P, Anchor::pos, EnuCoor_f::x, EnuCoor_f::y, and EnuCoor_f::z.
Referenced by dw1000_arduino_init().
Here is the call graph for this function:
Here is the caller graph for this function: