APM:Libraries
|
#include <AP_Beacon_Marvelmind.h>
Classes | |
struct | MarvelmindHedge |
struct | PositionValue |
struct | StationaryBeaconPosition |
struct | StationaryBeaconsPositions |
Public Member Functions | |
AP_Beacon_Marvelmind (AP_Beacon &frontend, AP_SerialManager &serial_manager) | |
bool | healthy () |
void | update () |
Public Member Functions inherited from AP_Beacon_Backend | |
AP_Beacon_Backend (AP_Beacon &frontend) | |
void | set_vehicle_position (const Vector3f &pos, float accuracy_estimate) |
void | set_beacon_distance (uint8_t beacon_instance, float distance) |
void | set_beacon_position (uint8_t beacon_instance, const Vector3f &pos) |
float | get_beacon_origin_lat (void) const |
float | get_beacon_origin_lon (void) const |
float | get_beacon_origin_alt (void) const |
Private Types | |
enum | { RECV_HDR, RECV_DGRAM } |
Private Member Functions | |
uint16_t | calc_crc_modbus (uint8_t *buf, uint16_t len) |
StationaryBeaconPosition * | get_or_alloc_beacon (uint8_t address) |
void | process_beacons_positions_datagram () |
void | process_beacons_positions_highres_datagram () |
void | process_position_highres_datagram () |
void | process_position_datagram () |
void | process_beacons_distances_datagram () |
void | set_stationary_beacons_positions () |
void | order_stationary_beacons () |
int8_t | find_beacon_instance (uint8_t address) const |
Private Attributes | |
enum AP_Beacon_Marvelmind:: { ... } | parse_state |
MarvelmindHedge | hedge |
uint8_t | input_buffer [AP_BEACON_MARVELMIND_BUF_SIZE] |
uint16_t | num_bytes_in_block_received |
uint16_t | data_id |
AP_HAL::UARTDriver * | uart |
uint32_t | last_update_ms |
Vector3f | vehicle_position_NED__m |
bool | vehicle_position_initialized |
Vector3f | beacon_position_NED__m [AP_BEACON_MAX_BEACONS] |
bool | beacon_position_initialized |
Additional Inherited Members | |
Protected Member Functions inherited from AP_Beacon_Backend | |
Vector3f | correct_for_orient_yaw (const Vector3f &vector) |
Protected Attributes inherited from AP_Beacon_Backend | |
AP_Beacon & | _frontend |
int16_t | orient_yaw_deg |
float | orient_cos_yaw = 0.0f |
float | orient_sin_yaw = 1.0f |
Definition at line 27 of file AP_Beacon_Marvelmind.h.
|
private |
Enumerator | |
---|---|
RECV_HDR | |
RECV_DGRAM |
Definition at line 72 of file AP_Beacon_Marvelmind.h.
AP_Beacon_Marvelmind::AP_Beacon_Marvelmind | ( | AP_Beacon & | frontend, |
AP_SerialManager & | serial_manager | ||
) |
|
private |
Definition at line 65 of file AP_Beacon_Marvelmind.cpp.
Referenced by update().
|
private |
Definition at line 228 of file AP_Beacon_Marvelmind.cpp.
Referenced by process_beacons_distances_datagram().
|
private |
Definition at line 120 of file AP_Beacon_Marvelmind.cpp.
Referenced by process_beacons_positions_datagram(), and process_beacons_positions_highres_datagram().
|
virtual |
Implements AP_Beacon_Backend.
Definition at line 361 of file AP_Beacon_Marvelmind.cpp.
|
private |
Definition at line 409 of file AP_Beacon_Marvelmind.cpp.
Referenced by process_beacons_positions_datagram(), and process_beacons_positions_highres_datagram().
|
private |
Definition at line 201 of file AP_Beacon_Marvelmind.cpp.
Referenced by update().
|
private |
Definition at line 135 of file AP_Beacon_Marvelmind.cpp.
Referenced by update().
|
private |
Definition at line 165 of file AP_Beacon_Marvelmind.cpp.
Referenced by update().
|
private |
Definition at line 83 of file AP_Beacon_Marvelmind.cpp.
Referenced by update().
|
private |
Definition at line 100 of file AP_Beacon_Marvelmind.cpp.
Referenced by update().
|
private |
Definition at line 367 of file AP_Beacon_Marvelmind.cpp.
Referenced by update().
|
virtual |
Implements AP_Beacon_Backend.
Definition at line 238 of file AP_Beacon_Marvelmind.cpp.
|
private |
Definition at line 103 of file AP_Beacon_Marvelmind.h.
Referenced by set_stationary_beacons_positions(), and update().
|
private |
Definition at line 102 of file AP_Beacon_Marvelmind.h.
Referenced by set_stationary_beacons_positions().
|
private |
Definition at line 80 of file AP_Beacon_Marvelmind.h.
Referenced by AP_Beacon_Marvelmind(), and update().
|
private |
Definition at line 77 of file AP_Beacon_Marvelmind.h.
Referenced by AP_Beacon_Marvelmind(), find_beacon_instance(), get_or_alloc_beacon(), order_stationary_beacons(), process_beacons_distances_datagram(), process_beacons_positions_datagram(), process_beacons_positions_highres_datagram(), process_position_datagram(), process_position_highres_datagram(), and set_stationary_beacons_positions().
|
private |
Definition at line 78 of file AP_Beacon_Marvelmind.h.
Referenced by process_beacons_distances_datagram(), process_beacons_positions_datagram(), process_beacons_positions_highres_datagram(), process_position_datagram(), process_position_highres_datagram(), and update().
|
private |
Definition at line 95 of file AP_Beacon_Marvelmind.h.
Referenced by AP_Beacon_Marvelmind(), healthy(), process_beacons_distances_datagram(), and set_stationary_beacons_positions().
|
private |
Definition at line 79 of file AP_Beacon_Marvelmind.h.
Referenced by AP_Beacon_Marvelmind(), and update().
enum { ... } AP_Beacon_Marvelmind::parse_state |
Referenced by AP_Beacon_Marvelmind(), and update().
|
private |
Definition at line 94 of file AP_Beacon_Marvelmind.h.
Referenced by AP_Beacon_Marvelmind(), and update().
|
private |
Definition at line 99 of file AP_Beacon_Marvelmind.h.
Referenced by set_stationary_beacons_positions(), and update().
|
private |
Definition at line 98 of file AP_Beacon_Marvelmind.h.
Referenced by set_stationary_beacons_positions().