bird_track_impl.h
Go to the documentation of this file.
1 
18 #ifndef BIRDTRACK_H
19 #define BIRDTRACK_H
20 
21 /* system includes */
22 #include <pthread.h>
23 
24 /* my includes */
25 #include "serial.h"
26 
27 using namespace std;
28 //using namespace Observer;
29 
31 {
32 public:
33  BirdTrack_impl(std::string serial_device);
34  ~BirdTrack_impl();
35 
36  int get_posangles(int whichtracker, double *v);
37  int get_rawposangles(int whichtracker, int *raw);
38  void initialize_Tracker();
39  int start();
40  int stop();
41  void write_to_file(double *v, char *argv);
42  int polhemus_coord_to_world_coord(double *vec);
43 
44 private:
46  int fd;
47  double doubledata[12]; // [0..5]: Pos.werte für ersten Sensor; [6..12]: Pos.werte für zweiten Sensor
48  unsigned char _erc, _sensor1, _sensor2;
49  int refcount;
50  //void writeNotification(int whichtracker, double *v);//double *data);
51 
53  pthread_mutex_t fobMutex;
54 
55 
56 };
57 
58 #endif /* BIRDTRACK_H */
unsigned char _sensor2
SerialDevice * serial_object
pthread_mutex_t fobMutex
protect all methods that are called by the corba interface classes.


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 Mon Jun 10 2019 12:44:40