Colour sensors calibrated
Dependencies: mbed-rtos mbed Servo QEI
Fork of ICRSEurobot13 by
Diff: Processes/MotorControl/MotorControl.h
- Revision:
- 23:6e3218cf75f8
- Child:
- 26:b16f1045108f
diff -r 167dacfe0b14 -r 6e3218cf75f8 Processes/MotorControl/MotorControl.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Processes/MotorControl/MotorControl.h Tue Apr 09 20:41:22 2013 +0000 @@ -0,0 +1,20 @@ + +#ifndef MOTOR_CONTROL_H +#define MOTOR_CONTROL_H + +namespace MotorControl{ + + extern float fwdcmd; + extern float thetacmd; + + inline void set_fwdcmd(float infwdcmd){ + fwdcmd = infwdcmd; + } + + inline void set_thetacmd(float inthetacmd){ + thetacmd = inthetacmd; + } + +} + +#endif //MOTOR_CONTROL_H \ No newline at end of file