Bluetooth communication for flocking.

Dependencies:   mbed

Fork of BeautifulMemeProject by James Hilder

Committer:
jah128
Date:
Thu Oct 22 00:46:14 2015 +0000
Revision:
6:ff3c66f7372b
Parent:
3:cd048f6e544e
Initial version: beacon detection and sync. code, bearing estimation.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jah128 0:8a5497a2e366 1 /* University of York Robotics Laboratory PsiSwarm Library: Demo Mode Header File
jah128 0:8a5497a2e366 2 *
jah128 0:8a5497a2e366 3 * File: demo.h
jah128 0:8a5497a2e366 4 *
jah128 6:ff3c66f7372b 5 * (C) Dept. Electronics & Computer Science, University of York
jah128 6:ff3c66f7372b 6 * James Hilder, Alan Millard, Homero Elizondo, Jon Timmis
jah128 0:8a5497a2e366 7 *
jah128 6:ff3c66f7372b 8 * PsiSwarm Library Version: 0.3
jah128 6:ff3c66f7372b 9 *
jah128 6:ff3c66f7372b 10 * October 2015
jah128 0:8a5497a2e366 11 *
jah128 0:8a5497a2e366 12 */
jah128 0:8a5497a2e366 13
jah128 0:8a5497a2e366 14 #ifndef DEMO_H
jah128 0:8a5497a2e366 15 #define DEMO_H
jah128 0:8a5497a2e366 16
jah128 0:8a5497a2e366 17 void demo_mode(void);
jah128 0:8a5497a2e366 18 void demo_handle_switch_event(char switch_pressed);
jah128 0:8a5497a2e366 19 void demo_update_leds(void);
jah128 0:8a5497a2e366 20 void demo_event_thread(void);
jah128 3:cd048f6e544e 21 void start_line_demo(void);
jah128 0:8a5497a2e366 22 void start_obstacle_demo(void);
jah128 0:8a5497a2e366 23 void start_spinning_demo(void);
jah128 0:8a5497a2e366 24 void start_stress_demo(void);
jah128 3:cd048f6e544e 25 void line_demo_cycle(void);
jah128 0:8a5497a2e366 26 void obstacle_demo_cycle(void);
jah128 0:8a5497a2e366 27 void spinning_demo_cycle(void);
jah128 0:8a5497a2e366 28 void stress_demo_cycle(void);
jah128 0:8a5497a2e366 29 #endif