43 struct timeval first, last;
51 iretn = microstrain_connect(
"COM1");
55 printf(
"Error: microstrain_connect() %d\n",iretn);
61 iretn = microstrain_euler_angles(handle, &euler);
63 for(
int i=0;
i<100;
i++)
65 gettimeofday(&first, &
x);
66 iretn = microstrain_euler_angles(handle, &euler);
67 gettimeofday(&last, &
x);
88 iretn = microstrain_disconnect(handle);
int i
Definition: rw_test.cpp:37
int iretn
Definition: rw_test.cpp:37
double e
Elevation.
Definition: vector.h:282
double b
Bank.
Definition: vector.h:284
3 element attitude vector.
Definition: vector.h:277
#define DEGOF(rad)
Degrees of a Radian value.
Definition: math/constants.h:33
int32_t cssl_stop()
Definition: cssl_lib.cpp:86
gige_handle * handle
Definition: kpc9612p_recv.cpp:33
double h
Heading.
Definition: vector.h:280