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 |
Storage for MAVLink Packet and Error statistics
Definition at line 15 of file MAVLinkStats.java.
void com.MAVLink.Messages.MAVLinkStats.advanceLastPacketSequence | ( | ) | [inline, private] |
Definition at line 55 of file MAVLinkStats.java.
void com.MAVLink.Messages.MAVLinkStats.crcError | ( | ) | [inline] |
Called when a CRC error happens on the parser
Definition at line 63 of file MAVLinkStats.java.
boolean com.MAVLink.Messages.MAVLinkStats.hasLostPackets | ( | MAVLinkPacket | packet | ) | [inline, private] |
Definition at line 51 of file MAVLinkStats.java.
void com.MAVLink.Messages.MAVLinkStats.mavlinkResetStats | ( | ) | [inline] |
Resets statistics for this MAVLink.
Definition at line 70 of file MAVLinkStats.java.
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
packet | Packet that should be checked |
Definition at line 32 of file MAVLinkStats.java.
void com.MAVLink.Messages.MAVLinkStats.updateLostPacketCount | ( | MAVLinkPacket | packet | ) | [inline, private] |
Definition at line 41 of file MAVLinkStats.java.
Definition at line 19 of file MAVLinkStats.java.
int com.MAVLink.Messages.MAVLinkStats.lastPacketSeq [private] |
Definition at line 23 of file MAVLinkStats.java.
Definition at line 21 of file MAVLinkStats.java.
Definition at line 17 of file MAVLinkStats.java.