Code to let Gr20's BioRobotics2017 robot come to live.
Dependencies: FastPWM MODSERIAL QEI mbed
Diff: motor.h
- Revision:
- 8:383a0fb48121
- Parent:
- 7:b9a209f889f5
diff -r b9a209f889f5 -r 383a0fb48121 motor.h --- a/motor.h Mon Nov 13 10:39:55 2017 +0000 +++ b/motor.h Mon Nov 13 10:45:29 2017 +0000 @@ -8,9 +8,8 @@ #define PWM_PERIOD_US 10 /** - * MOTOR CLASS - * The D-action is used on a moving average filtered version of the error that - * is put in, against (numerical) noise. + * Motor representation. + * Speed (pwm); direction (dout); with QEI-encoder read-out. */ class Motor {