forked from compAIR/libcreate
Expose functions for getting number of corrupt packets and total packets in Create class
This commit is contained in:
parent
bcd27b788a
commit
9cb3250268
5 changed files with 20 additions and 11 deletions
|
@ -357,6 +357,14 @@ namespace create {
|
|||
/* Get the estimated velocity of Create based on wheel encoders.
|
||||
*/
|
||||
const create::Vel& getVel() const;
|
||||
|
||||
/* Get the number of corrupt serial packets since first connecting to Create.
|
||||
*/
|
||||
uint64_t getNumCorruptPackets() const;
|
||||
|
||||
/* Get the total number of serial packets (including corrupt packets) since first connecting to Create.
|
||||
*/
|
||||
uint64_t getTotalPackets() const;
|
||||
}; // end Create class
|
||||
|
||||
} // namespace create
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue