Main Page
Classes
Files
File List
File Members
include
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
30
class
BirdTrack_impl
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
:
45
SerialDevice
*
serial_object
;
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 */
serial.h
std
BirdTrack_impl::_sensor2
unsigned char _sensor2
Definition:
bird_track_impl.h:48
SerialDevice
Definition:
include/serial.h:43
BirdTrack_impl::refcount
int refcount
Definition:
bird_track_impl.h:49
BirdTrack_impl::fd
int fd
Definition:
bird_track_impl.h:46
BirdTrack_impl
Definition:
bird_track_impl.h:30
BirdTrack_impl::serial_object
SerialDevice * serial_object
Definition:
bird_track_impl.h:45
BirdTrack_impl::fobMutex
pthread_mutex_t fobMutex
protect all methods that are called by the corba interface classes.
Definition:
bird_track_impl.h:53
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