Firmware
|
Public Member Functions | |
const char * | get_name () const |
uint16_t | get_id () |
unsigned | get_size () |
Get maximal total messages size on update. | |
![]() | |
MavlinkStream (Mavlink *mavlink) | |
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... | |
![]() | |
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 | |
MavlinkStreamLocalPositionNED (Mavlink *mavlink) | |
bool | send (const hrt_abstime t) |
![]() | |
virtual void | update_data () |
Function to collect/update data for the streams at a high rate independant of actual stream rate. More... | |
Additional Inherited Members | |
![]() | |
Mavlink *const | _mavlink |
int | _interval {1000000} |
if set to negative value = unlimited rate | |
![]() | |
MavlinkStream * | _sibling |