#include <hokuyo/hokuyo.h>
#include <time.h>
#include <sys/time.h>
#include <algorithm>
Go to the source code of this file.
Functions | |
long long int | getClockOffset (hokuyo::Laser &laser, int reps) |
long long int | getDataOffset (hokuyo::Laser &laser, int cycles) |
long long int | getScanOffset (hokuyo::Laser &laser, int reps) |
int | main (int argc, char **argv) |
template<class C > | |
C | median (std::vector< C > &v) |
static uint64_t | timeHelper () |
long long int getClockOffset | ( | hokuyo::Laser & | laser, | |
int | reps | |||
) |
Definition at line 36 of file timestamp_test.cpp.
long long int getDataOffset | ( | hokuyo::Laser & | laser, | |
int | cycles | |||
) |
Definition at line 81 of file timestamp_test.cpp.
long long int getScanOffset | ( | hokuyo::Laser & | laser, | |
int | reps | |||
) |
Definition at line 56 of file timestamp_test.cpp.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 101 of file timestamp_test.cpp.
C median | ( | std::vector< C > & | v | ) | [inline] |
Definition at line 20 of file timestamp_test.cpp.
static uint64_t timeHelper | ( | ) | [static] |
Definition at line 6 of file timestamp_test.cpp.