Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
TEST (WG0X, timestampDiff) | |
TEST (WG0X, positionDiff) | |
TEST (WG0X, timediffToDuration) | |
TEST (WG0X, calcEncoderVelocity) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 163 of file wg0x_test.cpp.
Make sure WG0X::timestampDiff funtion should handle wrap around at edge values for 32bit unsigned values.
Definition at line 10 of file wg0x_test.cpp.
Make sure WG0X::positionDiff funtion should handle position wrap around at edge values for 32bit signed/unsigned values.
Definition at line 31 of file wg0x_test.cpp.
Make sure timediffToDuration handles converting multisecond timediff values to Durations
Definition at line 61 of file wg0x_test.cpp.
Make sure calcEncoderVelocity handles wrapped position and timestamp values
Definition at line 86 of file wg0x_test.cpp.