Psi Swarm robot library version 0.9
Fork of PsiSwarmV8_CPP by
demo.h@8:6c92789d5f87, 2016-10-16 (annotated)
- Committer:
- jah128
- Date:
- Sun Oct 16 12:54:33 2016 +0000
- Revision:
- 8:6c92789d5f87
- Parent:
- 6:b340a527add9
- Child:
- 11:312663037b8c
Renamed to V8 [C++ version]; converted display, eprom and motor classes
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 | 6:b340a527add9 | 3 | * Copyright 2016 University of York |
jah128 | 6:b340a527add9 | 4 | * |
jah128 | 6:b340a527add9 | 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. |
jah128 | 6:b340a527add9 | 6 | * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 |
jah128 | 6:b340a527add9 | 7 | * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS |
jah128 | 6:b340a527add9 | 8 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
jah128 | 6:b340a527add9 | 9 | * See the License for the specific language governing permissions and limitations under the License. |
jah128 | 6:b340a527add9 | 10 | * |
jah128 | 0:d6269d17c8cf | 11 | * File: demo.h |
jah128 | 0:d6269d17c8cf | 12 | * |
jah128 | 0:d6269d17c8cf | 13 | * (C) Dept. Electronics & Computer Science, University of York |
jah128 | 0:d6269d17c8cf | 14 | * James Hilder, Alan Millard, Alexander Horsfield, Homero Elizondo, Jon Timmis |
jah128 | 0:d6269d17c8cf | 15 | * |
jah128 | 8:6c92789d5f87 | 16 | * PsiSwarm Library Version: 0.8 |
jah128 | 0:d6269d17c8cf | 17 | * |
jah128 | 5:3cdd1a37cdd7 | 18 | * October 2016 |
jah128 | 0:d6269d17c8cf | 19 | * |
jah128 | 0:d6269d17c8cf | 20 | * |
jah128 | 0:d6269d17c8cf | 21 | */ |
jah128 | 0:d6269d17c8cf | 22 | |
jah128 | 0:d6269d17c8cf | 23 | #ifndef DEMO_H |
jah128 | 0:d6269d17c8cf | 24 | #define DEMO_H |
jah128 | 0:d6269d17c8cf | 25 | |
jah128 | 0:d6269d17c8cf | 26 | void demo_mode(void); |
jah128 | 0:d6269d17c8cf | 27 | void demo_handle_switch_event(char switch_pressed); |
jah128 | 0:d6269d17c8cf | 28 | void demo_update_leds(void); |
jah128 | 0:d6269d17c8cf | 29 | void demo_event_thread(void); |
jah128 | 0:d6269d17c8cf | 30 | void start_line_demo(void); |
jah128 | 0:d6269d17c8cf | 31 | void start_obstacle_demo(void); |
jah128 | 0:d6269d17c8cf | 32 | void start_spinning_demo(void); |
jah128 | 0:d6269d17c8cf | 33 | void start_stress_demo(void); |
jah128 | 0:d6269d17c8cf | 34 | void line_demo_cycle(void); |
jah128 | 0:d6269d17c8cf | 35 | void obstacle_demo_cycle(void); |
jah128 | 0:d6269d17c8cf | 36 | void spinning_demo_cycle(void); |
jah128 | 0:d6269d17c8cf | 37 | void stress_demo_cycle(void); |
jah128 | 0:d6269d17c8cf | 38 | #endif |