PX4 Firmware
PX4 Autopilot Software http://px4.io
MavlinkStreamAttitude Class Reference
Inheritance diagram for MavlinkStreamAttitude:
Collaboration diagram for MavlinkStreamAttitude:

Public Member Functions

const char * get_name () const override
 
uint16_t get_id () override
 
unsigned get_size () override
 Get maximal total messages size on update. More...
 
- Public Member Functions inherited from ListNode< MavlinkStream *>
void setSibling (MavlinkStream * sibling)
 
const MavlinkStreamgetSibling () const
 

Static Public Member Functions

static const char * get_name_static ()
 
static uint16_t get_id_static ()
 
static MavlinkStreamnew_instance (Mavlink *mavlink)
 

Protected Member Functions

 MavlinkStreamAttitude (Mavlink *mavlink)
 
bool send (const hrt_abstime t) override
 

Private Member Functions

 MavlinkStreamAttitude (MavlinkStreamAttitude &)=delete
 
MavlinkStreamAttitudeoperator= (const MavlinkStreamAttitude &)=delete
 

Private Attributes

MavlinkOrbSubscription_att_sub
 
MavlinkOrbSubscription_angular_velocity_sub
 
uint64_t _att_time {0}
 

Additional Inherited Members

- Protected Attributes inherited from ListNode< MavlinkStream *>
MavlinkStream_list_node_sibling
 

Detailed Description

Definition at line 1178 of file mavlink_messages.cpp.

Constructor & Destructor Documentation

◆ MavlinkStreamAttitude() [1/2]

MavlinkStreamAttitude::MavlinkStreamAttitude ( MavlinkStreamAttitude )
privatedelete

◆ MavlinkStreamAttitude() [2/2]

MavlinkStreamAttitude::MavlinkStreamAttitude ( Mavlink mavlink)
inlineexplicitprotected

Definition at line 1222 of file mavlink_messages.cpp.

Member Function Documentation

◆ get_id()

uint16_t MavlinkStreamAttitude::get_id ( )
inlineoverridevirtual

Implements MavlinkStream.

Definition at line 1196 of file mavlink_messages.cpp.

References MavlinkStreamHeartbeat::get_id_static().

Here is the call graph for this function:

◆ get_id_static()

static uint16_t MavlinkStreamAttitude::get_id_static ( )
inlinestatic

Definition at line 1191 of file mavlink_messages.cpp.

◆ get_name()

const char* MavlinkStreamAttitude::get_name ( ) const
inlineoverridevirtual

Implements MavlinkStream.

Definition at line 1181 of file mavlink_messages.cpp.

References get_name_static().

Here is the call graph for this function:

◆ get_name_static()

static const char* MavlinkStreamAttitude::get_name_static ( )
inlinestatic

Definition at line 1186 of file mavlink_messages.cpp.

Referenced by get_name().

Here is the caller graph for this function:

◆ get_size()

unsigned MavlinkStreamAttitude::get_size ( )
inlineoverridevirtual

Get maximal total messages size on update.

Implements MavlinkStream.

Definition at line 1206 of file mavlink_messages.cpp.

◆ new_instance()

static MavlinkStream* MavlinkStreamAttitude::new_instance ( Mavlink mavlink)
inlinestatic

Definition at line 1201 of file mavlink_messages.cpp.

◆ operator=()

MavlinkStreamAttitude& MavlinkStreamAttitude::operator= ( const MavlinkStreamAttitude )
privatedelete

◆ send()

bool MavlinkStreamAttitude::send ( const hrt_abstime  t)
inlineoverrideprotectedvirtual

Implements MavlinkStream.

Definition at line 1227 of file mavlink_messages.cpp.

References MavlinkStream::_mavlink, Mavlink::get_channel(), msg, matrix::Euler< Type >::phi(), matrix::Euler< Type >::psi(), vehicle_attitude_s::q, matrix::Euler< Type >::theta(), vehicle_attitude_s::timestamp, and MavlinkOrbSubscription::update().

Here is the call graph for this function:

Member Data Documentation

◆ _angular_velocity_sub

MavlinkOrbSubscription* MavlinkStreamAttitude::_angular_velocity_sub
private

Definition at line 1213 of file mavlink_messages.cpp.

◆ _att_sub

MavlinkOrbSubscription* MavlinkStreamAttitude::_att_sub
private

Definition at line 1212 of file mavlink_messages.cpp.

◆ _att_time

uint64_t MavlinkStreamAttitude::_att_time {0}
private

Definition at line 1214 of file mavlink_messages.cpp.


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