APM:Libraries
Public Member Functions | Protected Attributes | List of all members
AC_PrecLand_Backend Class Referenceabstract

#include <AC_PrecLand_Backend.h>

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

Public Member Functions

 AC_PrecLand_Backend (const AC_PrecLand &frontend, AC_PrecLand::precland_state &state)
 
virtual ~AC_PrecLand_Backend ()
 
virtual void init ()=0
 
virtual void update ()=0
 
virtual bool get_los_body (Vector3f &dir_body)=0
 
virtual uint32_t los_meas_time_ms ()=0
 
virtual bool have_los_meas ()=0
 
virtual float distance_to_target ()
 
virtual void handle_msg (mavlink_message_t *msg)
 
int8_t get_bus (void) const
 

Protected Attributes

const AC_PrecLand_frontend
 
AC_PrecLand::precland_state_state
 

Detailed Description

Definition at line 8 of file AC_PrecLand_Backend.h.

Constructor & Destructor Documentation

◆ AC_PrecLand_Backend()

AC_PrecLand_Backend::AC_PrecLand_Backend ( const AC_PrecLand frontend,
AC_PrecLand::precland_state state 
)
inline

Definition at line 12 of file AC_PrecLand_Backend.h.

◆ ~AC_PrecLand_Backend()

virtual AC_PrecLand_Backend::~AC_PrecLand_Backend ( )
inlinevirtual

Definition at line 17 of file AC_PrecLand_Backend.h.

Here is the call graph for this function:

Member Function Documentation

◆ distance_to_target()

virtual float AC_PrecLand_Backend::distance_to_target ( )
inlinevirtual

Reimplemented in AC_PrecLand_Companion.

Definition at line 36 of file AC_PrecLand_Backend.h.

Referenced by AC_PrecLand::construct_pos_meas_using_rangefinder().

Here is the caller graph for this function:

◆ get_bus()

int8_t AC_PrecLand_Backend::get_bus ( void  ) const
inline

Definition at line 42 of file AC_PrecLand_Backend.h.

Referenced by AC_PrecLand_SITL_Gazebo::init(), and AC_PrecLand_IRLock::init().

Here is the caller graph for this function:

◆ get_los_body()

virtual bool AC_PrecLand_Backend::get_los_body ( Vector3f dir_body)
pure virtual

Implemented in AC_PrecLand_IRLock, AC_PrecLand_SITL_Gazebo, AC_PrecLand_SITL, and AC_PrecLand_Companion.

Referenced by AC_PrecLand::retrieve_los_meas(), and ~AC_PrecLand_Backend().

Here is the caller graph for this function:

◆ handle_msg()

virtual void AC_PrecLand_Backend::handle_msg ( mavlink_message_t *  msg)
inlinevirtual

Reimplemented in AC_PrecLand_Companion.

Definition at line 39 of file AC_PrecLand_Backend.h.

Referenced by AC_PrecLand::handle_msg().

Here is the caller graph for this function:

◆ have_los_meas()

virtual bool AC_PrecLand_Backend::have_los_meas ( )
pure virtual

Implemented in AC_PrecLand_IRLock, AC_PrecLand_SITL_Gazebo, AC_PrecLand_SITL, and AC_PrecLand_Companion.

Referenced by AC_PrecLand::retrieve_los_meas(), and ~AC_PrecLand_Backend().

Here is the caller graph for this function:

◆ init()

virtual void AC_PrecLand_Backend::init ( )
pure virtual

Implemented in AC_PrecLand_IRLock, AC_PrecLand_SITL_Gazebo, AC_PrecLand_SITL, and AC_PrecLand_Companion.

Referenced by AC_PrecLand::init(), and ~AC_PrecLand_Backend().

Here is the caller graph for this function:

◆ los_meas_time_ms()

virtual uint32_t AC_PrecLand_Backend::los_meas_time_ms ( )
pure virtual

Implemented in AC_PrecLand_IRLock, AC_PrecLand_SITL_Gazebo, AC_PrecLand_SITL, and AC_PrecLand_Companion.

Referenced by AC_PrecLand::retrieve_los_meas(), and ~AC_PrecLand_Backend().

Here is the caller graph for this function:

◆ update()

virtual void AC_PrecLand_Backend::update ( )
pure virtual

Implemented in AC_PrecLand_IRLock, AC_PrecLand_SITL_Gazebo, AC_PrecLand_SITL, and AC_PrecLand_Companion.

Referenced by AC_PrecLand::update(), and ~AC_PrecLand_Backend().

Here is the caller graph for this function:

Member Data Documentation

◆ _frontend

const AC_PrecLand& AC_PrecLand_Backend::_frontend
protected

Definition at line 45 of file AC_PrecLand_Backend.h.

Referenced by get_bus(), and AC_PrecLand_SITL::update().

◆ _state

AC_PrecLand::precland_state& AC_PrecLand_Backend::_state
protected

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