Library for the PsiSwarm Robot - Version 0.4
demo.h@3:7c0d1f581757, 2016-03-15 (annotated)
- Committer:
- jah128
- Date:
- Tue Mar 15 00:58:09 2016 +0000
- Revision:
- 3:7c0d1f581757
- Parent:
- 2:c6986ee3c7c5
Added to serial code; reverted back to old version of message handling [temporary fix?]
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jah128 | 0:d6269d17c8cf | 1 | /* University of York Robotics Laboratory PsiSwarm Library: Demo Mode Header File |
jah128 | 0:d6269d17c8cf | 2 | * |
jah128 | 0:d6269d17c8cf | 3 | * File: demo.h |
jah128 | 0:d6269d17c8cf | 4 | * |
jah128 | 0:d6269d17c8cf | 5 | * (C) Dept. Electronics & Computer Science, University of York |
jah128 | 0:d6269d17c8cf | 6 | * James Hilder, Alan Millard, Alexander Horsfield, Homero Elizondo, Jon Timmis |
jah128 | 0:d6269d17c8cf | 7 | * |
jah128 | 2:c6986ee3c7c5 | 8 | * PsiSwarm Library Version: 0.41 |
jah128 | 0:d6269d17c8cf | 9 | * |
jah128 | 2:c6986ee3c7c5 | 10 | * March 2016 |
jah128 | 0:d6269d17c8cf | 11 | * |
jah128 | 0:d6269d17c8cf | 12 | * |
jah128 | 0:d6269d17c8cf | 13 | */ |
jah128 | 0:d6269d17c8cf | 14 | |
jah128 | 0:d6269d17c8cf | 15 | #ifndef DEMO_H |
jah128 | 0:d6269d17c8cf | 16 | #define DEMO_H |
jah128 | 0:d6269d17c8cf | 17 | |
jah128 | 0:d6269d17c8cf | 18 | void demo_mode(void); |
jah128 | 0:d6269d17c8cf | 19 | void demo_handle_switch_event(char switch_pressed); |
jah128 | 0:d6269d17c8cf | 20 | void demo_update_leds(void); |
jah128 | 0:d6269d17c8cf | 21 | void demo_event_thread(void); |
jah128 | 0:d6269d17c8cf | 22 | void start_line_demo(void); |
jah128 | 0:d6269d17c8cf | 23 | void start_obstacle_demo(void); |
jah128 | 0:d6269d17c8cf | 24 | void start_spinning_demo(void); |
jah128 | 0:d6269d17c8cf | 25 | void start_stress_demo(void); |
jah128 | 0:d6269d17c8cf | 26 | void line_demo_cycle(void); |
jah128 | 0:d6269d17c8cf | 27 | void obstacle_demo_cycle(void); |
jah128 | 0:d6269d17c8cf | 28 | void spinning_demo_cycle(void); |
jah128 | 0:d6269d17c8cf | 29 | void stress_demo_cycle(void); |
jah128 | 0:d6269d17c8cf | 30 | #endif |