APM:Libraries
Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
AP_DEVO_Telem Class Reference

#include <AP_Devo_Telem.h>

Collaboration diagram for AP_DEVO_Telem:
[legend]

Classes

struct  PACKED
 

Public Member Functions

 AP_DEVO_Telem (const AP_AHRS &ahrs)
 
 AP_DEVO_Telem (const AP_DEVO_Telem &other)=delete
 
AP_DEVO_Telemoperator= (const AP_DEVO_Telem &)=delete
 
void init (const AP_SerialManager &serial_manager)
 
void update_control_mode (uint8_t mode)
 

Private Types

typedef struct AP_DEVO_Telem::PACKED DevoMPacket
 

Private Member Functions

uint32_t gpsDdToDmsFormat (float ddm)
 
void tick (void)
 
void send_frames (uint8_t control_mode)
 

Private Attributes

DevoMPacket devoPacket
 
uint8_t _control_mode
 
const AP_AHRS_ahrs
 
AP_HAL::UARTDriver_port
 
uint32_t _last_frame_ms
 

Detailed Description

Definition at line 22 of file AP_Devo_Telem.h.

Member Typedef Documentation

◆ DevoMPacket

Constructor & Destructor Documentation

◆ AP_DEVO_Telem() [1/2]

AP_DEVO_Telem::AP_DEVO_Telem ( const AP_AHRS ahrs)

Definition at line 35 of file AP_Devo_Telem.cpp.

◆ AP_DEVO_Telem() [2/2]

AP_DEVO_Telem::AP_DEVO_Telem ( const AP_DEVO_Telem other)
delete

Member Function Documentation

◆ gpsDdToDmsFormat()

uint32_t AP_DEVO_Telem::gpsDdToDmsFormat ( float  ddm)
private

Definition at line 55 of file AP_Devo_Telem.cpp.

Referenced by send_frames().

Here is the caller graph for this function:

◆ init()

void AP_DEVO_Telem::init ( const AP_SerialManager serial_manager)

Definition at line 42 of file AP_Devo_Telem.cpp.

Here is the call graph for this function:

◆ operator=()

AP_DEVO_Telem& AP_DEVO_Telem::operator= ( const AP_DEVO_Telem )
delete

◆ send_frames()

void AP_DEVO_Telem::send_frames ( uint8_t  control_mode)
private

Definition at line 77 of file AP_Devo_Telem.cpp.

Referenced by tick().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tick()

void AP_DEVO_Telem::tick ( void  )
private

Definition at line 121 of file AP_Devo_Telem.cpp.

Referenced by init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_control_mode()

void AP_DEVO_Telem::update_control_mode ( uint8_t  mode)
inline

Definition at line 35 of file AP_Devo_Telem.h.

Member Data Documentation

◆ _ahrs

const AP_AHRS& AP_DEVO_Telem::_ahrs
private

Definition at line 65 of file AP_Devo_Telem.h.

Referenced by send_frames().

◆ _control_mode

uint8_t AP_DEVO_Telem::_control_mode
private

Definition at line 63 of file AP_Devo_Telem.h.

Referenced by tick(), and update_control_mode().

◆ _last_frame_ms

uint32_t AP_DEVO_Telem::_last_frame_ms
private

Definition at line 67 of file AP_Devo_Telem.h.

Referenced by tick().

◆ _port

AP_HAL::UARTDriver* AP_DEVO_Telem::_port
private

Definition at line 66 of file AP_Devo_Telem.h.

Referenced by init(), and send_frames().

◆ devoPacket

DevoMPacket AP_DEVO_Telem::devoPacket
private

Definition at line 61 of file AP_Devo_Telem.h.

Referenced by AP_DEVO_Telem(), and send_frames().


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