Robobo
|
#include <Robobo.h>
Inherited by RoboboTests.
Public Member Functions | |
void | createSetupV1 (void) |
Public Attributes | |
MotorI * | dc1 |
MotorI * | dc2 |
ControlStrategy * | pid1 |
ControlStrategy * | pid2 |
long | serialSpeed |
Static Public Attributes | |
static Robobo * | instance = NULL |
Friends | |
void | encoder1_ISR (void) |
void | encoder2_ISR (void) |
Robobo class is simple wrapper around global values that are accessible from everywhere in programs
Global class is singleton implemented. Robobo allows to create only one instance of class. Constructor of object is responsible to use all hard-coded values through out program