BirdTrack_impl.h
Go to the documentation of this file.
00001 
00017 #ifndef BIRDTRACK_H
00018 #define BIRDTRACK_H
00019 
00020 /* system includes */
00021 #include <pthread.h>
00022 
00023 /* my includes */
00024 #include "serialClass/serial.h"
00025 
00026 using namespace std;
00027 //using namespace Observer;
00028 
00029 class BirdTrack_impl
00030 {
00031 public:
00032   BirdTrack_impl(std::string serial_device);
00033   ~BirdTrack_impl();
00034   
00035   int get_posangles(int whichtracker, double *v);
00036   int get_rawposangles(int whichtracker, int *raw);
00037   void initialize_Tracker();
00038   int start();
00039   int stop();
00040   void write_to_file(double *v, char *argv);
00041   int polhemus_coord_to_world_coord(double *vec);
00042   
00043 private:
00044   SerialDevice *serial_object;
00045   int fd;
00046   double doubledata[12]; // [0..5]: Pos.werte für ersten Sensor; [6..12]: Pos.werte für zweiten Sensor
00047   unsigned char _erc, _sensor1, _sensor2;
00048   int refcount;
00049   //void writeNotification(int whichtracker, double *v);//double *data);
00050 
00052   pthread_mutex_t fobMutex;
00053 
00054   
00055 };
00056 
00057 #endif /* BIRDTRACK_H */


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