Revision d140fd71
Added Sensors class that abstracts away sensors from behaviors. Stops creating
duplicated sensors for each scout.
scout/libscout/src/MotorControl.h | ||
---|---|---|
65 | 65 |
#define MOTOR_LEFT_SPIN MOTOR_LEFT_REV | MOTOR_RIGHT |
66 | 66 |
#define MOTOR_RIGHT_SPIN MOTOR_LEFT | MOTOR_RIGHT_REV |
67 | 67 |
|
68 |
#define MAXSPEED 100
|
|
68 |
#define MAXSPEED 255
|
|
69 | 69 |
#define MOTOR_PERCENT 'p' |
70 | 70 |
#define MOTOR_MMS 'm' |
71 | 71 |
#define MOTOR_CMS 'c' |
Also available in: Unified diff