Project

General

Profile

Revision d140fd71

IDd140fd71ddd19ef38a0124cbbea1165874a5474d

Added by Yuyang almost 4 years ago

Added Sensors class that abstracts away sensors from behaviors. Stops creating
duplicated sensors for each scout.

View differences:

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