![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
status/status.h@0:bec310bde899, 2011-09-27 (annotated)
- Committer:
- pd0wm
- Date:
- Tue Sep 27 19:46:30 2011 +0000
- Revision:
- 0:bec310bde899
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pd0wm | 0:bec310bde899 | 1 | #ifndef STATUS_H |
pd0wm | 0:bec310bde899 | 2 | #define STATUS_H |
pd0wm | 0:bec310bde899 | 3 | |
pd0wm | 0:bec310bde899 | 4 | #include <string> |
pd0wm | 0:bec310bde899 | 5 | |
pd0wm | 0:bec310bde899 | 6 | #include "roer.h" |
pd0wm | 0:bec310bde899 | 7 | #include "zeil.h" |
pd0wm | 0:bec310bde899 | 8 | #include "kompas.h" |
pd0wm | 0:bec310bde899 | 9 | #include "gps_wrapper.h" |
pd0wm | 0:bec310bde899 | 10 | #include "route.h" |
pd0wm | 0:bec310bde899 | 11 | #include "pws.h" |
pd0wm | 0:bec310bde899 | 12 | #include "vaantje.h" |
pd0wm | 0:bec310bde899 | 13 | #include "goto.h" |
pd0wm | 0:bec310bde899 | 14 | #include "pid.h" |
pd0wm | 0:bec310bde899 | 15 | |
pd0wm | 0:bec310bde899 | 16 | #include "mbed.h" |
pd0wm | 0:bec310bde899 | 17 | |
pd0wm | 0:bec310bde899 | 18 | class Status{ |
pd0wm | 0:bec310bde899 | 19 | |
pd0wm | 0:bec310bde899 | 20 | Serial zender; |
pd0wm | 0:bec310bde899 | 21 | Ticker timer; |
pd0wm | 0:bec310bde899 | 22 | Ticker zeiltimer; |
pd0wm | 0:bec310bde899 | 23 | |
pd0wm | 0:bec310bde899 | 24 | Roer * roer; |
pd0wm | 0:bec310bde899 | 25 | Zeil * zeil; |
pd0wm | 0:bec310bde899 | 26 | Kompas * kompas; |
pd0wm | 0:bec310bde899 | 27 | Gps * gps; |
pd0wm | 0:bec310bde899 | 28 | Route * route; |
pd0wm | 0:bec310bde899 | 29 | Vaantje * vaantje; |
pd0wm | 0:bec310bde899 | 30 | Goto * got; |
pd0wm | 0:bec310bde899 | 31 | Pid * pid; |
pd0wm | 0:bec310bde899 | 32 | |
pd0wm | 0:bec310bde899 | 33 | string b; |
pd0wm | 0:bec310bde899 | 34 | int plaats; |
pd0wm | 0:bec310bde899 | 35 | int manual; |
pd0wm | 0:bec310bde899 | 36 | int zeilmanual; |
pd0wm | 0:bec310bde899 | 37 | |
pd0wm | 0:bec310bde899 | 38 | |
pd0wm | 0:bec310bde899 | 39 | |
pd0wm | 0:bec310bde899 | 40 | void newData(void); |
pd0wm | 0:bec310bde899 | 41 | |
pd0wm | 0:bec310bde899 | 42 | |
pd0wm | 0:bec310bde899 | 43 | |
pd0wm | 0:bec310bde899 | 44 | public: |
pd0wm | 0:bec310bde899 | 45 | Status(Roer *, Zeil *, Kompas *, Gps *, Vaantje *, Route *, Goto *, Pid *); |
pd0wm | 0:bec310bde899 | 46 | void autoZeil(void); |
pd0wm | 0:bec310bde899 | 47 | |
pd0wm | 0:bec310bde899 | 48 | |
pd0wm | 0:bec310bde899 | 49 | }; |
pd0wm | 0:bec310bde899 | 50 | |
pd0wm | 0:bec310bde899 | 51 | #endif |