PsiSwarm Library
0.8
demo.h
1
/* University of York Robotics Laboratory PsiSwarm Library: Demo Mode Header File
2
*
3
* Copyright 2016 University of York
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
7
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS
8
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
* See the License for the specific language governing permissions and limitations under the License.
10
*
11
* File: demo.h
12
*
13
* (C) Dept. Electronics & Computer Science, University of York
14
* James Hilder, Alan Millard, Alexander Horsfield, Homero Elizondo, Jon Timmis
15
*
16
* PsiSwarm Library Version: 0.8
17
*
18
* October 2016
19
*
20
*
21
*/
22
23
#ifndef DEMO_H
24
#define DEMO_H
25
26
36
class
Demo
37
{
38
public
:
42
void
start_demo_mode
(
void
);
43
void
demo_handle_switch_event(
char
switch_pressed);
44
45
private
:
46
void
demo_update_leds(
void
);
47
void
demo_event_thread(
void
);
48
void
start_line_demo(
void
);
49
void
start_obstacle_demo(
void
);
50
void
start_spinning_demo(
void
);
51
void
start_stress_demo(
void
);
52
void
line_demo_cycle(
void
);
53
void
obstacle_demo_cycle(
void
);
54
void
spinning_demo_cycle(
void
);
55
void
stress_demo_cycle(
void
);
56
};
57
#endif
Demo
Definition:
demo.h:36
Demo::start_demo_mode
void start_demo_mode(void)
Definition:
demo.cpp:80
D:
GoogleDrive
PsiSwarm
Code
MBED Code
PsiSwarmV8_CPP
demo.h
Generated by
1.8.12