Functions
timestamp_test.cpp File Reference
#include <hokuyo/hokuyo.h>
#include <time.h>
#include <sys/time.h>
#include <algorithm>
Include dependency graph for timestamp_test.cpp:

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 >
median (std::vector< C > &v)
static uint64_t timeHelper ()

Function Documentation

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.

template<class C >
C median ( std::vector< C > &  v)

Definition at line 20 of file timestamp_test.cpp.

static uint64_t timeHelper ( ) [static]

Definition at line 6 of file timestamp_test.cpp.



hokuyo_node
Author(s): Brian P. Gerkey, Jeremy Leibs, Blaise Gassend
autogenerated on Thu Jan 2 2014 11:23:52