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

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

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

Private Member Functions

 MavlinkStreamScaledIMU (MavlinkStreamScaledIMU &)=delete
 
MavlinkStreamScaledIMUoperator= (const MavlinkStreamScaledIMU &)=delete
 

Private Attributes

MavlinkOrbSubscription_raw_accel_sub
 
MavlinkOrbSubscription_raw_gyro_sub
 
MavlinkOrbSubscription_raw_mag_sub
 
uint64_t _raw_accel_time
 
uint64_t _raw_gyro_time
 
uint64_t _raw_mag_time
 

Additional Inherited Members

- Protected Attributes inherited from ListNode< MavlinkStream *>
MavlinkStream_list_node_sibling
 

Detailed Description

Definition at line 903 of file mavlink_messages.cpp.

Constructor & Destructor Documentation

◆ MavlinkStreamScaledIMU() [1/2]

MavlinkStreamScaledIMU::MavlinkStreamScaledIMU ( MavlinkStreamScaledIMU )
privatedelete

◆ MavlinkStreamScaledIMU() [2/2]

MavlinkStreamScaledIMU::MavlinkStreamScaledIMU ( Mavlink mavlink)
inlineexplicitprotected

Definition at line 950 of file mavlink_messages.cpp.

Member Function Documentation

◆ get_id()

uint16_t MavlinkStreamScaledIMU::get_id ( )
inlineoverridevirtual

Implements MavlinkStream.

Definition at line 921 of file mavlink_messages.cpp.

References MavlinkStreamHeartbeat::get_id_static().

Here is the call graph for this function:

◆ get_id_static()

static uint16_t MavlinkStreamScaledIMU::get_id_static ( )
inlinestatic

Definition at line 916 of file mavlink_messages.cpp.

◆ get_name()

const char* MavlinkStreamScaledIMU::get_name ( ) const
inlineoverridevirtual

Implements MavlinkStream.

Definition at line 906 of file mavlink_messages.cpp.

References get_name_static().

Here is the call graph for this function:

◆ get_name_static()

static const char* MavlinkStreamScaledIMU::get_name_static ( )
inlinestatic

Definition at line 911 of file mavlink_messages.cpp.

Referenced by get_name().

Here is the caller graph for this function:

◆ get_size()

unsigned MavlinkStreamScaledIMU::get_size ( )
inlineoverridevirtual

Get maximal total messages size on update.

Implements MavlinkStream.

Definition at line 931 of file mavlink_messages.cpp.

◆ new_instance()

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

Definition at line 926 of file mavlink_messages.cpp.

◆ operator=()

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

◆ send()

bool MavlinkStreamScaledIMU::send ( const hrt_abstime  t)
inlineoverrideprotectedvirtual

Implements MavlinkStream.

Definition at line 959 of file mavlink_messages.cpp.

References MavlinkStream::_mavlink, CONSTANTS_ONE_G, Mavlink::get_channel(), msg, sensor_accel_s::timestamp, MavlinkOrbSubscription::update(), sensor_mag_s::x_raw, sensor_accel_s::x_raw, sensor_gyro_s::x_raw, sensor_mag_s::y_raw, sensor_gyro_s::y_raw, sensor_accel_s::y_raw, sensor_mag_s::z_raw, sensor_accel_s::z_raw, and sensor_gyro_s::z_raw.

Here is the call graph for this function:

Member Data Documentation

◆ _raw_accel_sub

MavlinkOrbSubscription* MavlinkStreamScaledIMU::_raw_accel_sub
private

Definition at line 937 of file mavlink_messages.cpp.

◆ _raw_accel_time

uint64_t MavlinkStreamScaledIMU::_raw_accel_time
private

Definition at line 941 of file mavlink_messages.cpp.

◆ _raw_gyro_sub

MavlinkOrbSubscription* MavlinkStreamScaledIMU::_raw_gyro_sub
private

Definition at line 938 of file mavlink_messages.cpp.

◆ _raw_gyro_time

uint64_t MavlinkStreamScaledIMU::_raw_gyro_time
private

Definition at line 942 of file mavlink_messages.cpp.

◆ _raw_mag_sub

MavlinkOrbSubscription* MavlinkStreamScaledIMU::_raw_mag_sub
private

Definition at line 939 of file mavlink_messages.cpp.

◆ _raw_mag_time

uint64_t MavlinkStreamScaledIMU::_raw_mag_time
private

Definition at line 943 of file mavlink_messages.cpp.


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