PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Public Member Functions | |
const char * | get_name () const override |
uint16_t | get_id () override |
bool | const_rate () 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 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 | |
MavlinkStreamUTMGlobalPosition (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 | |
MavlinkStreamUTMGlobalPosition (MavlinkStreamUTMGlobalPosition &)=delete | |
MavlinkStreamUTMGlobalPosition & | operator= (const MavlinkStreamUTMGlobalPosition &)=delete |
Private Attributes | |
MavlinkOrbSubscription * | _local_pos_sub |
uint64_t | _local_pos_time = 0 |
vehicle_local_position_s | _local_position = {} |
MavlinkOrbSubscription * | _global_pos_sub |
uint64_t | _global_pos_time = 0 |
vehicle_global_position_s | _global_position = {} |
MavlinkOrbSubscription * | _position_setpoint_triplet_sub |
uint64_t | _setpoint_triplet_time = 0 |
position_setpoint_triplet_s | _setpoint_triplet = {} |
MavlinkOrbSubscription * | _vehicle_status_sub |
uint64_t | _vehicle_status_time = 0 |
vehicle_status_s | _vehicle_status = {} |
MavlinkOrbSubscription * | _land_detected_sub |
uint64_t | _land_detected_time = 0 |
vehicle_land_detected_s | _land_detected = {} |
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 1855 of file mavlink_messages.cpp.
|
privatedelete |
|
inlineexplicitprotected |
Definition at line 1919 of file mavlink_messages.cpp.
|
inlineoverridevirtual |
Reimplemented from MavlinkStream.
Definition at line 1883 of file mavlink_messages.cpp.
|
inlineoverridevirtual |
Implements MavlinkStream.
Definition at line 1873 of file mavlink_messages.cpp.
References MavlinkStreamHeartbeat::get_id_static().
|
inlinestatic |
Definition at line 1868 of file mavlink_messages.cpp.
|
inlineoverridevirtual |
Implements MavlinkStream.
Definition at line 1858 of file mavlink_messages.cpp.
References get_name_static().
|
inlinestatic |
Definition at line 1863 of file mavlink_messages.cpp.
Referenced by get_name().
|
inlineoverridevirtual |
Get maximal total messages size on update.
Implements MavlinkStream.
Definition at line 1888 of file mavlink_messages.cpp.
|
inlinestatic |
Definition at line 1878 of file mavlink_messages.cpp.
|
privatedelete |
|
inlineoverrideprotectedvirtual |
Implements MavlinkStream.
Definition at line 1927 of file mavlink_messages.cpp.
References MavlinkStream::_mavlink, vehicle_global_position_s::alt, position_setpoint_s::alt, vehicle_global_position_s::alt_ellipsoid, vehicle_status_s::arming_state, position_setpoint_triplet_s::current, vehicle_local_position_s::dist_bottom, vehicle_local_position_s::dist_bottom_valid, vehicle_global_position_s::eph, vehicle_global_position_s::epv, vehicle_local_position_s::evh, vehicle_local_position_s::evv, Mavlink::get_channel(), vehicle_land_detected_s::landed, vehicle_global_position_s::lat, position_setpoint_s::lat, vehicle_global_position_s::lon, position_setpoint_s::lon, msg, vehicle_status_s::nav_state, MavlinkOrbSubscription::update(), vehicle_local_position_s::v_xy_valid, vehicle_local_position_s::v_z_valid, position_setpoint_s::valid, vehicle_local_position_s::vx, vehicle_local_position_s::vy, and vehicle_local_position_s::vz.
|
private |
Definition at line 1898 of file mavlink_messages.cpp.
|
private |
Definition at line 1899 of file mavlink_messages.cpp.
|
private |
Definition at line 1900 of file mavlink_messages.cpp.
|
private |
Definition at line 1912 of file mavlink_messages.cpp.
|
private |
Definition at line 1910 of file mavlink_messages.cpp.
|
private |
Definition at line 1911 of file mavlink_messages.cpp.
|
private |
Definition at line 1894 of file mavlink_messages.cpp.
|
private |
Definition at line 1895 of file mavlink_messages.cpp.
|
private |
Definition at line 1896 of file mavlink_messages.cpp.
|
private |
Definition at line 1902 of file mavlink_messages.cpp.
|
private |
Definition at line 1904 of file mavlink_messages.cpp.
|
private |
Definition at line 1903 of file mavlink_messages.cpp.
|
private |
Definition at line 1908 of file mavlink_messages.cpp.
|
private |
Definition at line 1906 of file mavlink_messages.cpp.
|
private |
Definition at line 1907 of file mavlink_messages.cpp.