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

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

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

Private Member Functions

 MavlinkStreamLocalPositionNED (MavlinkStreamLocalPositionNED &)=delete
 
MavlinkStreamLocalPositionNEDoperator= (const MavlinkStreamLocalPositionNED &)=delete
 

Private Attributes

MavlinkOrbSubscription_pos_sub
 
uint64_t _pos_time
 

Additional Inherited Members

- Protected Attributes inherited from ListNode< MavlinkStream *>
MavlinkStream_list_node_sibling
 

Detailed Description

Definition at line 2559 of file mavlink_messages.cpp.

Constructor & Destructor Documentation

◆ MavlinkStreamLocalPositionNED() [1/2]

MavlinkStreamLocalPositionNED::MavlinkStreamLocalPositionNED ( MavlinkStreamLocalPositionNED )
privatedelete

◆ MavlinkStreamLocalPositionNED() [2/2]

MavlinkStreamLocalPositionNED::MavlinkStreamLocalPositionNED ( Mavlink mavlink)
inlineexplicitprotected

Definition at line 2601 of file mavlink_messages.cpp.

Member Function Documentation

◆ get_id()

uint16_t MavlinkStreamLocalPositionNED::get_id ( )
inlineoverridevirtual

Implements MavlinkStream.

Definition at line 2577 of file mavlink_messages.cpp.

References MavlinkStreamHeartbeat::get_id_static().

Here is the call graph for this function:

◆ get_id_static()

static uint16_t MavlinkStreamLocalPositionNED::get_id_static ( )
inlinestatic

Definition at line 2572 of file mavlink_messages.cpp.

◆ get_name()

const char* MavlinkStreamLocalPositionNED::get_name ( ) const
inlineoverridevirtual

Implements MavlinkStream.

Definition at line 2562 of file mavlink_messages.cpp.

References get_name_static().

Here is the call graph for this function:

◆ get_name_static()

static const char* MavlinkStreamLocalPositionNED::get_name_static ( )
inlinestatic

Definition at line 2567 of file mavlink_messages.cpp.

Referenced by get_name().

Here is the caller graph for this function:

◆ get_size()

unsigned MavlinkStreamLocalPositionNED::get_size ( )
inlineoverridevirtual

Get maximal total messages size on update.

Implements MavlinkStream.

Definition at line 2587 of file mavlink_messages.cpp.

◆ new_instance()

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

Definition at line 2582 of file mavlink_messages.cpp.

◆ operator=()

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

◆ send()

bool MavlinkStreamLocalPositionNED::send ( const hrt_abstime  t)
inlineoverrideprotectedvirtual

Implements MavlinkStream.

Definition at line 2606 of file mavlink_messages.cpp.

References MavlinkStream::_mavlink, Mavlink::get_channel(), msg, vehicle_local_position_s::timestamp, MavlinkOrbSubscription::update(), vehicle_local_position_s::vx, vehicle_local_position_s::vy, vehicle_local_position_s::vz, vehicle_local_position_s::x, vehicle_local_position_s::y, and vehicle_local_position_s::z.

Here is the call graph for this function:

Member Data Documentation

◆ _pos_sub

MavlinkOrbSubscription* MavlinkStreamLocalPositionNED::_pos_sub
private

Definition at line 2593 of file mavlink_messages.cpp.

◆ _pos_time

uint64_t MavlinkStreamLocalPositionNED::_pos_time
private

Definition at line 2594 of file mavlink_messages.cpp.


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