APM:Libraries
|
#include <SIM_ADSB.h>
Public Member Functions | |
ADSB (const struct sitl_fdm &_fdm, const char *home_str) | |
void | update (void) |
Private Member Functions | |
void | send_report (void) |
Private Attributes | |
const char * | target_address = "127.0.0.1" |
const uint16_t | target_port = 5762 |
Location | home |
uint8_t | num_vehicles = 0 |
ADSB_Vehicle | vehicles [num_vehicles_MAX] |
const float | reporting_period_ms = 1000 |
uint32_t | last_report_us = 0 |
uint32_t | last_update_us = 0 |
uint32_t | last_tx_report_ms = 0 |
uint32_t | last_heartbeat_ms = 0 |
bool | seen_heartbeat = false |
uint8_t | vehicle_system_id |
uint8_t | vehicle_component_id |
SocketAPM | mav_socket { false } |
struct { | |
bool connected | |
mavlink_message_t rxmsg | |
mavlink_status_t status | |
uint8_t seq | |
} | mavlink |
Static Private Attributes | |
static const uint8_t | num_vehicles_MAX = 200 |
Definition at line 43 of file SIM_ADSB.h.
SITL::ADSB::ADSB | ( | const struct sitl_fdm & | _fdm, |
const char * | home_str | ||
) |
|
private |
Definition at line 108 of file SIM_ADSB.cpp.
Referenced by update().
void SITL::ADSB::update | ( | void | ) |
Definition at line 73 of file SIM_ADSB.cpp.
Referenced by HALSITL::SITL_State::_fdm_input_local().
bool SITL::ADSB::connected |
Definition at line 71 of file SIM_ADSB.h.
|
private |
Definition at line 52 of file SIM_ADSB.h.
Referenced by ADSB(), and send_report().
|
private |
Definition at line 63 of file SIM_ADSB.h.
Referenced by send_report().
|
private |
Definition at line 59 of file SIM_ADSB.h.
Referenced by send_report().
|
private |
Definition at line 61 of file SIM_ADSB.h.
Referenced by send_report().
|
private |
Definition at line 60 of file SIM_ADSB.h.
Referenced by update().
|
private |
Definition at line 68 of file SIM_ADSB.h.
Referenced by send_report().
struct { ... } SITL::ADSB::mavlink |
Referenced by send_report().
|
private |
Definition at line 53 of file SIM_ADSB.h.
Referenced by send_report(), and update().
|
staticprivate |
Definition at line 54 of file SIM_ADSB.h.
Referenced by update().
|
private |
Definition at line 58 of file SIM_ADSB.h.
Referenced by send_report().
mavlink_message_t SITL::ADSB::rxmsg |
Definition at line 72 of file SIM_ADSB.h.
|
private |
Definition at line 64 of file SIM_ADSB.h.
Referenced by send_report().
uint8_t SITL::ADSB::seq |
Definition at line 74 of file SIM_ADSB.h.
mavlink_status_t SITL::ADSB::status |
Definition at line 73 of file SIM_ADSB.h.
Referenced by send_report().
|
private |
Definition at line 49 of file SIM_ADSB.h.
Referenced by send_report().
|
private |
Definition at line 50 of file SIM_ADSB.h.
Referenced by send_report().
|
private |
Definition at line 66 of file SIM_ADSB.h.
Referenced by send_report().
|
private |
Definition at line 65 of file SIM_ADSB.h.
Referenced by send_report().
|
private |
Definition at line 55 of file SIM_ADSB.h.
Referenced by send_report(), and update().