#include <algorithm>
#include <iostream>
#include <segwayrmp/segwayrmp.h>
#include <segwayrmp/impl/rmp_io.h>
#include <segwayrmp/impl/rmp_ftd2xx.h>
#include <sys/time.h>
Go to the source code of this file.
Functions | |
void | defaultDebugMsgCallback (const std::string &msg) |
void | defaultErrorMsgCallback (const std::string &msg) |
void | defaultExceptionCallback (const std::exception &error) |
void | defaultInfoMsgCallback (const std::string &msg) |
void | defaultSegwayStatusCallback (segwayrmp::SegwayStatus::Ptr &segway_status) |
segwayrmp::SegwayTime | defaultTimestampCallback () throw (segwayrmp::NoHighPerformanceTimersException) |
int | getInt (unsigned char lhigh, unsigned char llow, unsigned char hhigh, unsigned char hlow) |
short int | getShortInt (unsigned char high, unsigned char low) |
void | printHex (char *data, int length) |
void | printHexFromString (std::string str) |
void defaultDebugMsgCallback | ( | const std::string & | msg | ) | [inline] |
Definition at line 22 of file segwayrmp.cc.
void defaultErrorMsgCallback | ( | const std::string & | msg | ) | [inline] |
Definition at line 32 of file segwayrmp.cc.
void defaultExceptionCallback | ( | const std::exception & | error | ) | [inline] |
Definition at line 121 of file segwayrmp.cc.
void defaultInfoMsgCallback | ( | const std::string & | msg | ) | [inline] |
Definition at line 27 of file segwayrmp.cc.
void defaultSegwayStatusCallback | ( | segwayrmp::SegwayStatus::Ptr & | segway_status | ) | [inline] |
Definition at line 16 of file segwayrmp.cc.
segwayrmp::SegwayTime defaultTimestampCallback | ( | ) | throw (segwayrmp::NoHighPerformanceTimersException) [inline] |
Definition at line 39 of file segwayrmp.cc.
int getInt | ( | unsigned char | lhigh, |
unsigned char | llow, | ||
unsigned char | hhigh, | ||
unsigned char | hlow | ||
) | [inline] |
Definition at line 821 of file segwayrmp.cc.
short int getShortInt | ( | unsigned char | high, |
unsigned char | low | ||
) | [inline] |
Definition at line 814 of file segwayrmp.cc.
void printHex | ( | char * | data, |
int | length | ||
) | [inline] |
Definition at line 127 of file segwayrmp.cc.
void printHexFromString | ( | std::string | str | ) | [inline] |
Definition at line 135 of file segwayrmp.cc.