APM:Libraries
Public Member Functions | Private Attributes | List of all members
AP_Beacon_SITL Class Reference

#include <AP_Beacon_SITL.h>

Inheritance diagram for AP_Beacon_SITL:
[legend]
Collaboration diagram for AP_Beacon_SITL:
[legend]

Public Member Functions

 AP_Beacon_SITL (AP_Beacon &frontend)
 
bool healthy () override
 
void update () override
 
- 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 Attributes

SITL::SITLsitl
 
uint8_t next_beacon
 
uint32_t last_update_ms
 

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
 

Detailed Description

Definition at line 9 of file AP_Beacon_SITL.h.

Constructor & Destructor Documentation

◆ AP_Beacon_SITL()

AP_Beacon_SITL::AP_Beacon_SITL ( AP_Beacon frontend)

Definition at line 43 of file AP_Beacon_SITL.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ healthy()

bool AP_Beacon_SITL::healthy ( void  )
overridevirtual

Implements AP_Beacon_Backend.

Definition at line 50 of file AP_Beacon_SITL.cpp.

Here is the call graph for this function:

◆ update()

void AP_Beacon_SITL::update ( void  )
overridevirtual

Implements AP_Beacon_Backend.

Definition at line 57 of file AP_Beacon_SITL.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ last_update_ms

uint32_t AP_Beacon_SITL::last_update_ms
private

Definition at line 25 of file AP_Beacon_SITL.h.

Referenced by healthy(), and update().

◆ next_beacon

uint8_t AP_Beacon_SITL::next_beacon
private

Definition at line 24 of file AP_Beacon_SITL.h.

Referenced by update().

◆ sitl

SITL::SITL* AP_Beacon_SITL::sitl
private

Definition at line 23 of file AP_Beacon_SITL.h.

Referenced by AP_Beacon_SITL(), and update().


The documentation for this class was generated from the following files: