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 MAVLinkStats.java.


Member Function Documentation

Definition at line 55 of file MAVLinkStats.java.

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.

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

Parameters:
packetPacket 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.


Member Data Documentation

Definition at line 19 of file MAVLinkStats.java.

Definition at line 23 of file MAVLinkStats.java.

Definition at line 21 of file MAVLinkStats.java.

Definition at line 17 of file MAVLinkStats.java.


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


mavlink
Author(s): Lorenz Meier
autogenerated on Thu Jun 6 2019 19:01:57