|
Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
#include "mcu_periph/sys_time.h"#include "math/pprz_geodetic_int.h"#include "math/pprz_geodetic_float.h"#include "subsystems/gps.h"
Include dependency graph for traffic_info.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | acInfo |
Macros | |
| #define | NB_ACS_ID 256 |
| #define | NB_ACS 24 |
| #define | AC_INFO_POS_UTM_I 0 |
| #define | AC_INFO_POS_LLA_I 1 |
| #define | AC_INFO_POS_ENU_I 2 |
| #define | AC_INFO_POS_UTM_F 3 |
| #define | AC_INFO_POS_LLA_F 4 |
| #define | AC_INFO_POS_ENU_F 5 |
| #define | AC_INFO_VEL_ENU_I 6 |
| #define | AC_INFO_VEL_ENU_F 7 |
| #define | AC_INFO_VEL_LOCAL_F 8 |
Functions | |
| void | traffic_info_init (void) |
| bool | parse_acinfo_dl (void) |
| Parse all datalink or telemetry messages that contain global position of other acs Messages currently handled: Telemetry (vehicle -> ground or vehicle -> vehicle): GPS_SMALL, GPS, GPS_LLA Datalink (ground -> vehicle): ACINFO, ACINFO_LLA. More... | |
| void | set_ac_info_utm (uint8_t id, uint32_t utm_east, uint32_t utm_north, uint32_t alt, uint8_t utm_zone, uint16_t course, uint16_t gspeed, uint16_t climb, uint32_t itow) |
| Set Aircraft info. More... | |
| void | set_ac_info_lla (uint8_t id, int32_t lat, int32_t lon, int32_t alt, int16_t course, uint16_t gspeed, int16_t climb, uint32_t itow) |
| Set Aircraft info. More... | |
| static void | acInfoSetPositionUtm_i (uint8_t ac_id, struct UtmCoor_i *utm_pos) |
| Set position from UTM coordinates (int). More... | |
| static void | acInfoSetPositionLla_i (uint8_t ac_id, struct LlaCoor_i *lla_pos) |
| Set position from LLA coordinates (int). More... | |
| static void | acInfoSetPositionEnu_i (uint8_t ac_id, struct EnuCoor_i *enu_pos) |
| Set position from ENU coordinates (int). More... | |
| static void | acInfoSetPositionUtm_f (uint8_t ac_id, struct UtmCoor_f *utm_pos) |
| Set position from UTM coordinates (float). More... | |
| static void | acInfoSetPositionLla_f (uint8_t ac_id, struct LlaCoor_f *lla_pos) |
| Set position from LLA coordinates (float). More... | |
| static void | acInfoSetPositionEnu_f (uint8_t ac_id, struct EnuCoor_f *enu_pos) |
| Set position from ENU coordinates (float). More... | |
| static void | acInfoSetVelocityEnu_i (uint8_t ac_id, struct EnuCoor_i *enu_vel) |
| Set velocity from ENU coordinates (int). More... | |
| static void | acInfoSetVelocityEnu_f (uint8_t ac_id, struct EnuCoor_f *enu_vel) |
| Set velocity from ENU coordinates (float). More... | |
| void | acInfoCalcPositionUtm_i (uint8_t ac_id) |
| void | acInfoCalcPositionUtm_f (uint8_t ac_id) |
| void | acInfoCalcPositionLla_i (uint8_t ac_id) |
| void | acInfoCalcPositionLla_f (uint8_t ac_id) |
| void | acInfoCalcPositionEnu_i (uint8_t ac_id) |
| void | acInfoCalcPositionEnu_f (uint8_t ac_id) |
| void | acInfoCalcVelocityEnu_i (uint8_t ac_id) |
| void | acInfoCalcVelocityEnu_f (uint8_t ac_id) |
| static struct UtmCoor_i * | acInfoGetPositionUtm_i (uint8_t ac_id) |
| Get position from UTM coordinates (int). More... | |
| static struct LlaCoor_i * | acInfoGetPositionLla_i (uint8_t ac_id) |
| Get position from LLA coordinates (int). More... | |
| static struct EnuCoor_i * | acInfoGetPositionEnu_i (uint8_t ac_id) |
| Get position in local ENU coordinates (int). More... | |
| static struct UtmCoor_f * | acInfoGetPositionUtm_f (uint8_t ac_id) |
| Get position from UTM coordinates (float). More... | |
| static struct LlaCoor_f * | acInfoGetPositionLla_f (uint8_t ac_id) |
| Get position from LLA coordinates (float). More... | |
| static struct EnuCoor_f * | acInfoGetPositionEnu_f (uint8_t ac_id) |
| Get position in local ENU coordinates (float). More... | |
| static struct EnuCoor_i * | acInfoGetVelocityEnu_i (uint8_t ac_id) |
| Get position from ENU coordinates (int). More... | |
| static struct EnuCoor_f * | acInfoGetVelocityEnu_f (uint8_t ac_id) |
| Get position from ENU coordinates (float). More... | |
| static float | acInfoGetCourse (uint8_t ac_id) |
| Get vehicle course (float). More... | |
| static float | acInfoGetGspeed (uint8_t ac_id) |
| Get vehicle ground speed (float). More... | |
| static float | acInfoGetClimb (uint8_t ac_id) |
| Get vehicle climb speed (float). More... | |
| static uint32_t | acInfoGetItow (uint8_t ac_id) |
| Get time of week from latest message (ms). More... | |
Variables | |
| uint8_t | ti_acs_idx |
| uint8_t | ti_acs_id [] |
| struct acInfo | ti_acs [] |
Definition in file traffic_info.h.
| #define NB_ACS 24 |
Definition at line 40 of file traffic_info.h.
Referenced by acInfoSetPositionEnu_f(), acInfoSetPositionEnu_i(), acInfoSetPositionLla_f(), acInfoSetPositionLla_i(), acInfoSetPositionUtm_f(), acInfoSetPositionUtm_i(), acInfoSetVelocityEnu_f(), and acInfoSetVelocityEnu_i().
| #define NB_ACS_ID 256 |
Definition at line 37 of file traffic_info.h.