summaryrefslogtreecommitdiffstats
path: root/Master/Real-Time Systems/RTS_A8/src/Notbremse.h
blob: 86f092a71ac7b73249b1432d9feb6751a2bd31b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * Notbremse.h
 *
 *  Created on: 01.12.2010
 *      Author: sven
 */

#ifndef NOTBREMSE_H_
#define NOTBREMSE_H_

#include "Task.h"
#ifndef POS_H_
	#include "POS.h"
#endif
#include <pthread.h>

extern pthread_mutex_t vehicleMutex;
extern POS vehiclePosition;
extern double lineDir;

class Notbremse: public Task {
public:
	Notbremse(int t);
	virtual ~Notbremse();
	virtual void execute();
private:
	const double DIST_THRESHOLD;
};

#endif /* NOTBREMSE_H_ */