2014 Eurobot fork
Dependencies: mbed-rtos mbed QEI
Diff: Processes/MotorControl/MotorControl.h
- Revision:
- 22:6e3218cf75f8
- Child:
- 25:b16f1045108f
--- /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