PX4 Firmware
PX4 Autopilot Software http://px4.io
|
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 MavlinkStream | |
MavlinkStream (Mavlink *mavlink) | |
virtual | ~MavlinkStream ()=default |
MavlinkStream (const MavlinkStream &)=delete | |
MavlinkStream & | operator= (const MavlinkStream &)=delete |
MavlinkStream (MavlinkStream &&)=delete | |
MavlinkStream & | operator= (MavlinkStream &&)=delete |
void | set_interval (const int interval) |
Get the interval. More... | |
int | get_interval () |
Get the interval. More... | |
int | update (const hrt_abstime &t) |
Update subscriptions and send message if necessary. More... | |
virtual bool | const_rate () |
virtual unsigned | get_size_avg () |
Get the average message size. More... | |
bool | first_message_sent () const |
void | reset_last_sent () |
Reset the time of last sent to 0. More... | |
Public Member Functions inherited from ListNode< MavlinkStream *> | |
void | setSibling (MavlinkStream * sibling) |
const MavlinkStream * | getSibling () const |
Static Public Member Functions | |
static const char * | get_name_static () |
static uint16_t | get_id_static () |
static MavlinkStream * | new_instance (Mavlink *mavlink) |
Protected Member Functions | |
MavlinkStreamHighresIMU (Mavlink *mavlink) | |
bool | send (const hrt_abstime t) override |
Protected Member Functions inherited from MavlinkStream | |
virtual void | update_data () |
Function to collect/update data for the streams at a high rate independant of actual stream rate. More... | |
Private Member Functions | |
MavlinkStreamHighresIMU (MavlinkStreamHighresIMU &)=delete | |
MavlinkStreamHighresIMU & | operator= (const MavlinkStreamHighresIMU &)=delete |
Private Attributes | |
MavlinkOrbSubscription * | _sensor_sub |
uint64_t | _sensor_time |
MavlinkOrbSubscription * | _bias_sub |
MavlinkOrbSubscription * | _differential_pressure_sub |
MavlinkOrbSubscription * | _magnetometer_sub |
MavlinkOrbSubscription * | _air_data_sub |
uint64_t | _accel_timestamp |
uint64_t | _gyro_timestamp |
uint64_t | _mag_timestamp |
uint64_t | _baro_timestamp |
uint64_t | _dpres_timestamp |
Additional Inherited Members | |
Protected Attributes inherited from MavlinkStream | |
Mavlink *const | _mavlink |
int | _interval {1000000} |
if set to negative value = unlimited rate More... | |
Protected Attributes inherited from ListNode< MavlinkStream *> | |
MavlinkStream * | _list_node_sibling |
Definition at line 759 of file mavlink_messages.cpp.
|
privatedelete |
|
inlineexplicitprotected |
Definition at line 812 of file mavlink_messages.cpp.
|
inlineoverridevirtual |
Implements MavlinkStream.
Definition at line 777 of file mavlink_messages.cpp.
References MavlinkStreamHeartbeat::get_id_static().
|
inlinestatic |
Definition at line 772 of file mavlink_messages.cpp.
|
inlineoverridevirtual |
Implements MavlinkStream.
Definition at line 762 of file mavlink_messages.cpp.
References get_name_static().
|
inlinestatic |
Definition at line 767 of file mavlink_messages.cpp.
Referenced by get_name().
|
inlineoverridevirtual |
Get maximal total messages size on update.
Implements MavlinkStream.
Definition at line 787 of file mavlink_messages.cpp.
|
inlinestatic |
Definition at line 782 of file mavlink_messages.cpp.
|
privatedelete |
|
inlineoverrideprotectedvirtual |
Implements MavlinkStream.
Definition at line 826 of file mavlink_messages.cpp.
References MavlinkStream::_mavlink, sensor_bias_s::accel_bias, sensor_combined_s::accelerometer_m_s2, sensor_combined_s::accelerometer_timestamp_relative, vehicle_air_data_s::baro_alt_meter, vehicle_air_data_s::baro_pressure_pa, vehicle_air_data_s::baro_temp_celcius, differential_pressure_s::differential_pressure_raw_pa, Mavlink::get_channel(), sensor_bias_s::gyro_bias, sensor_combined_s::gyro_rad, sensor_bias_s::mag_bias, vehicle_magnetometer_s::magnetometer_ga, msg, differential_pressure_s::timestamp, vehicle_air_data_s::timestamp, vehicle_magnetometer_s::timestamp, sensor_combined_s::timestamp, and MavlinkOrbSubscription::update().
|
private |
Definition at line 801 of file mavlink_messages.cpp.
|
private |
Definition at line 799 of file mavlink_messages.cpp.
|
private |
Definition at line 804 of file mavlink_messages.cpp.
|
private |
Definition at line 796 of file mavlink_messages.cpp.
|
private |
Definition at line 797 of file mavlink_messages.cpp.
|
private |
Definition at line 805 of file mavlink_messages.cpp.
|
private |
Definition at line 802 of file mavlink_messages.cpp.
|
private |
Definition at line 803 of file mavlink_messages.cpp.
|
private |
Definition at line 798 of file mavlink_messages.cpp.
|
private |
Definition at line 793 of file mavlink_messages.cpp.
|
private |
Definition at line 794 of file mavlink_messages.cpp.