Library for thread to determine AGV location
positioning.h@0:6a51b6fe2114, 2017-08-23 (annotated)
- Committer:
- williampeers
- Date:
- Wed Aug 23 02:26:03 2017 +0000
- Revision:
- 0:6a51b6fe2114
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
williampeers | 0:6a51b6fe2114 | 1 | #ifndef __POSITIONING_INCLUDED__ |
williampeers | 0:6a51b6fe2114 | 2 | #define __POSITIONING_INCLUDED__ |
williampeers | 0:6a51b6fe2114 | 3 | |
williampeers | 0:6a51b6fe2114 | 4 | #include "mbed.h" |
williampeers | 0:6a51b6fe2114 | 5 | |
williampeers | 0:6a51b6fe2114 | 6 | class Positioning{ |
williampeers | 0:6a51b6fe2114 | 7 | private: |
williampeers | 0:6a51b6fe2114 | 8 | Thread positioning_thread; |
williampeers | 0:6a51b6fe2114 | 9 | void run(); |
williampeers | 0:6a51b6fe2114 | 10 | |
williampeers | 0:6a51b6fe2114 | 11 | public: |
williampeers | 0:6a51b6fe2114 | 12 | Positioning(osPriority, int); |
williampeers | 0:6a51b6fe2114 | 13 | void start(); |
williampeers | 0:6a51b6fe2114 | 14 | }; |
williampeers | 0:6a51b6fe2114 | 15 | |
williampeers | 0:6a51b6fe2114 | 16 | #endif |