Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
com.MAVLink.Messages.MAVLinkStats Class Reference

List of all members.

Public Member Functions

void crcError ()
void mavlinkResetStats ()
void newPacket (MAVLinkPacket packet)

Public Attributes

int crcErrorCount
int lostPacketCount
int receivedPacketCount

Private Member Functions

void advanceLastPacketSequence ()
boolean hasLostPackets (MAVLinkPacket packet)
void updateLostPacketCount (MAVLinkPacket packet)

Private Attributes

int lastPacketSeq

Detailed Description

Storage for MAVLink Packet and Error statistics

Definition at line 15 of file

Member Function Documentation

Definition at line 55 of file

Called when a CRC error happens on the parser

Definition at line 63 of file

boolean com.MAVLink.Messages.MAVLinkStats.hasLostPackets ( MAVLinkPacket  packet) [inline, private]

Definition at line 51 of file

Resets statistics for this MAVLink.

Definition at line 70 of file

void com.MAVLink.Messages.MAVLinkStats.newPacket ( MAVLinkPacket  packet) [inline]

Check the new received packet to see if has lost someone between this and the last packet

packetPacket that should be checked

Definition at line 32 of file

void com.MAVLink.Messages.MAVLinkStats.updateLostPacketCount ( MAVLinkPacket  packet) [inline, private]

Definition at line 41 of file

Member Data Documentation

Definition at line 19 of file

Definition at line 23 of file

Definition at line 21 of file

Definition at line 17 of file

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

Author(s): Lorenz Meier
autogenerated on Wed Sep 9 2015 18:06:18