Go to the documentation of this file.00001
00018 #ifndef BIRDTRACK_H
00019 #define BIRDTRACK_H
00020
00021
00022 #include <pthread.h>
00023
00024
00025 #include "serial.h"
00026
00027 using namespace std;
00028
00029
00030 class BirdTrack_impl
00031 {
00032 public:
00033 BirdTrack_impl(std::string serial_device);
00034 ~BirdTrack_impl();
00035
00036 int get_posangles(int whichtracker, double *v);
00037 int get_rawposangles(int whichtracker, int *raw);
00038 void initialize_Tracker();
00039 int start();
00040 int stop();
00041 void write_to_file(double *v, char *argv);
00042 int polhemus_coord_to_world_coord(double *vec);
00043
00044 private:
00045 SerialDevice *serial_object;
00046 int fd;
00047 double doubledata[12];
00048 unsigned char _erc, _sensor1, _sensor2;
00049 int refcount;
00050
00051
00053 pthread_mutex_t fobMutex;
00054
00055
00056 };
00057
00058 #endif
asr_flock_of_birds
Author(s): Bernhardt Andre, Engelmann Stephan, Giesler Björn, Heller Florian, Jäkel Rainer, Nguyen Trung, Pardowitz Michael, Weckesser Peter, Yi Xie, Zöllner Raoul
autogenerated on Sat Jun 8 2019 19:36:21