C++ Library for the PsiSwarm Robot - Version 0.8
Dependents: PsiSwarm_V8_Blank_CPP Autonomia_RndmWlk
Fork of PsiSwarmV7_CPP by
Diff: dances.h
- Revision:
- 11:312663037b8c
- Parent:
- 6:b340a527add9
diff -r e58323951c08 -r 312663037b8c dances.h --- a/dances.h Sun Oct 16 16:00:20 2016 +0000 +++ b/dances.h Sun Oct 16 21:06:15 2016 +0000 @@ -15,7 +15,7 @@ * (C) Dept. Electronics & Computer Science, University of York * James Hilder, Alan Millard, Alexander Horsfield, Homero Elizondo, Jon Timmis * - * PsiSwarm Library Version: 0.7 + * PsiSwarm Library Version: 0.8 * * October 2016 * @@ -25,6 +25,15 @@ #ifndef DANCES_H #define DANCES_H -void vibrate(void); +/** + * The Dances class contains simple predefined animations\dances +*/ +class Dances{ + public: + /** + * Make the robot vibrate (turn rapidly left & right) for approximately 1 second with LED flashes; restores LED states after action + */ + void vibrate(void); +}; #endif \ No newline at end of file