Mechatronic Zen Garden
0.1
This webpage contains documentation for the ME 507 term project: Mechatronic Zen Garden.
shares.h
Go to the documentation of this file.
1
12
#ifndef _SHARES_H_
13
#define _SHARES_H_
14
15
#include "
taskqueue.h
"
16
#include "
taskshare.h
"
17
18
19
// A share which holds a counter of how many times a simulated event occurred
20
// extern Share<bool> bool_var; example of share declaration
21
22
// A queue which triggers a task to print the count at certain times
23
25
extern
Queue<float>
xref
;
26
28
extern
Queue<float>
yref
;
29
31
extern
Queue<uint8_t>
data_NOTavail
;
32
33
34
#endif // _SHARES_H_
taskshare.h
Data which can be shared between tasks in a thread-safe manner.
xref
Queue< float > xref
Zen Garden x position data.
yref
Queue< float > yref
Zen Garden y position data.
taskqueue.h
Queue
Implements a queue to transmit data from one RTOS task to another.
Definition:
taskqueue.h:129
data_NOTavail
Queue< uint8_t > data_NOTavail
Array of mostly zeros with just a one at the end to signify all data has been sent.
src
shares.h
Generated on Tue Dec 7 2021 19:09:33 for Mechatronic Zen Garden by
1.8.20