2 #include <gtest/gtest.h> 163 int main(
int argc,
char **argv)
165 testing::InitGoogleTest(&argc, argv);
166 return RUN_ALL_TESTS();
int main(int argc, char **argv)
static ros::Duration timediffToDuration(int32_t timediff_usec)
static double calcEncoderVelocity(int32_t new_position, uint32_t new_timestamp, int32_t old_position, uint32_t old_timestamp)
static int32_t positionDiff(int32_t new_position, int32_t old_position)
static int32_t timestampDiff(uint32_t new_timestamp, uint32_t old_timestamp)
TEST(WG0X, timestampDiff)