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

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

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

Private Member Functions

 MavlinkStreamAttPosMocap (MavlinkStreamAttPosMocap &)=delete
 
MavlinkStreamAttPosMocapoperator= (const MavlinkStreamAttPosMocap &)=delete
 

Private Attributes

MavlinkOrbSubscription_mocap_sub
 
uint64_t _mocap_time
 

Additional Inherited Members

- Protected Attributes inherited from ListNode< MavlinkStream *>
MavlinkStream_list_node_sibling
 

Detailed Description

Definition at line 2711 of file mavlink_messages.cpp.

Constructor & Destructor Documentation

◆ MavlinkStreamAttPosMocap() [1/2]

MavlinkStreamAttPosMocap::MavlinkStreamAttPosMocap ( MavlinkStreamAttPosMocap )
privatedelete

◆ MavlinkStreamAttPosMocap() [2/2]

MavlinkStreamAttPosMocap::MavlinkStreamAttPosMocap ( Mavlink mavlink)
inlineexplicitprotected

Definition at line 2753 of file mavlink_messages.cpp.

Member Function Documentation

◆ get_id()

uint16_t MavlinkStreamAttPosMocap::get_id ( )
inlineoverridevirtual

Implements MavlinkStream.

Definition at line 2729 of file mavlink_messages.cpp.

References MavlinkStreamHeartbeat::get_id_static().

Here is the call graph for this function:

◆ get_id_static()

static uint16_t MavlinkStreamAttPosMocap::get_id_static ( )
inlinestatic

Definition at line 2724 of file mavlink_messages.cpp.

◆ get_name()

const char* MavlinkStreamAttPosMocap::get_name ( ) const
inlineoverridevirtual

Implements MavlinkStream.

Definition at line 2714 of file mavlink_messages.cpp.

References get_name_static().

Here is the call graph for this function:

◆ get_name_static()

static const char* MavlinkStreamAttPosMocap::get_name_static ( )
inlinestatic

Definition at line 2719 of file mavlink_messages.cpp.

Referenced by get_name().

Here is the caller graph for this function:

◆ get_size()

unsigned MavlinkStreamAttPosMocap::get_size ( )
inlineoverridevirtual

Get maximal total messages size on update.

Implements MavlinkStream.

Definition at line 2739 of file mavlink_messages.cpp.

◆ new_instance()

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

Definition at line 2734 of file mavlink_messages.cpp.

◆ operator=()

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

◆ send()

bool MavlinkStreamAttPosMocap::send ( const hrt_abstime  t)
inlineoverrideprotectedvirtual

Implements MavlinkStream.

Definition at line 2758 of file mavlink_messages.cpp.

References MavlinkStream::_mavlink, Mavlink::get_channel(), msg, vehicle_odometry_s::q, vehicle_odometry_s::timestamp, MavlinkOrbSubscription::update(), vehicle_odometry_s::x, vehicle_odometry_s::y, and vehicle_odometry_s::z.

Here is the call graph for this function:

Member Data Documentation

◆ _mocap_sub

MavlinkOrbSubscription* MavlinkStreamAttPosMocap::_mocap_sub
private

Definition at line 2745 of file mavlink_messages.cpp.

◆ _mocap_time

uint64_t MavlinkStreamAttPosMocap::_mocap_time
private

Definition at line 2746 of file mavlink_messages.cpp.


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