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


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