Code for an autonomous plane I'm building. Includes process scheduling, process communication, and hardware sensor interfacing (via I2C). NOTE: currently in development, source code will be updated frequently.

Dependencies:   mbed

Revision:
0:0c627ff4c5ed
Child:
2:452dd766d212
diff -r 000000000000 -r 0c627ff4c5ed control.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/control.h	Wed Oct 30 02:31:43 2013 +0000
@@ -0,0 +1,19 @@
+#ifndef CONTROL_H
+#define CONTROL_H
+
+typedef struct
+{
+    unsigned int status;
+    unsigned int block_pid;
+    void (*start)(void);  
+} process;
+
+typedef enum
+{
+    READY,
+    BLOCKED,
+    ZOMBIE,
+    EMPTY
+} proc_stat;
+
+#endif //CONTROL_H
\ No newline at end of file