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

#include <AC_PrecLand_IRLock.h>

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

Public Member Functions

 AC_PrecLand_IRLock (const AC_PrecLand &frontend, AC_PrecLand::precland_state &state)
 
void init () override
 
void update () override
 
bool get_los_body (Vector3f &ret) override
 
uint32_t los_meas_time_ms () override
 
bool have_los_meas () override
 
- Public Member Functions inherited from AC_PrecLand_Backend
 AC_PrecLand_Backend (const AC_PrecLand &frontend, AC_PrecLand::precland_state &state)
 
virtual ~AC_PrecLand_Backend ()
 
virtual float distance_to_target ()
 
virtual void handle_msg (mavlink_message_t *msg)
 
int8_t get_bus (void) const
 

Private Attributes

AP_IRLock_I2C irlock
 
Vector3f _los_meas_body
 
bool _have_los_meas
 
uint32_t _los_meas_time_ms
 

Additional Inherited Members

- Protected Attributes inherited from AC_PrecLand_Backend
const AC_PrecLand_frontend
 
AC_PrecLand::precland_state_state
 

Detailed Description

Definition at line 17 of file AC_PrecLand_IRLock.h.

Constructor & Destructor Documentation

◆ AC_PrecLand_IRLock()

AC_PrecLand_IRLock::AC_PrecLand_IRLock ( const AC_PrecLand frontend,
AC_PrecLand::precland_state state 
)

Definition at line 7 of file AC_PrecLand_IRLock.cpp.

Member Function Documentation

◆ get_los_body()

bool AC_PrecLand_IRLock::get_los_body ( Vector3f ret)
overridevirtual

Implements AC_PrecLand_Backend.

Definition at line 40 of file AC_PrecLand_IRLock.cpp.

Here is the call graph for this function:

◆ have_los_meas()

bool AC_PrecLand_IRLock::have_los_meas ( )
overridevirtual

Implements AC_PrecLand_Backend.

Definition at line 54 of file AC_PrecLand_IRLock.cpp.

Referenced by get_los_body().

Here is the caller graph for this function:

◆ init()

void AC_PrecLand_IRLock::init ( )
overridevirtual

Implements AC_PrecLand_Backend.

Definition at line 16 of file AC_PrecLand_IRLock.cpp.

Here is the call graph for this function:

◆ los_meas_time_ms()

uint32_t AC_PrecLand_IRLock::los_meas_time_ms ( )
overridevirtual

Implements AC_PrecLand_Backend.

Definition at line 49 of file AC_PrecLand_IRLock.cpp.

◆ update()

void AC_PrecLand_IRLock::update ( )
overridevirtual

Implements AC_PrecLand_Backend.

Definition at line 22 of file AC_PrecLand_IRLock.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ _have_los_meas

bool AC_PrecLand_IRLock::_have_los_meas
private

Definition at line 44 of file AC_PrecLand_IRLock.h.

Referenced by have_los_meas(), and update().

◆ _los_meas_body

Vector3f AC_PrecLand_IRLock::_los_meas_body
private

Definition at line 43 of file AC_PrecLand_IRLock.h.

Referenced by get_los_body(), and update().

◆ _los_meas_time_ms

uint32_t AC_PrecLand_IRLock::_los_meas_time_ms
private

Definition at line 45 of file AC_PrecLand_IRLock.h.

Referenced by los_meas_time_ms(), and update().

◆ irlock

AP_IRLock_I2C AC_PrecLand_IRLock::irlock
private

Definition at line 41 of file AC_PrecLand_IRLock.h.

Referenced by init(), and update().


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