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.
Diff: control.cpp
- Revision:
- 1:1abb115c2005
- Parent:
- 0:0c627ff4c5ed
- Child:
- 2:452dd766d212
--- a/control.cpp Wed Oct 30 02:31:43 2013 +0000 +++ b/control.cpp Wed Oct 30 22:51:33 2013 +0000 @@ -13,12 +13,13 @@ int main() { - init_procs(); + /*init_procs(); while (true) { get_sensor_data(); schedule(); - } + }*/ + get_sensor_data(); } void init_procs()