2014 Eurobot fork

Dependencies:   mbed-rtos mbed QEI

Committer:
madcowswe
Date:
Tue Apr 09 20:41:22 2013 +0000
Revision:
22:6e3218cf75f8
Child:
25:b16f1045108f
MotorControl compiles

Who changed what in which revision?

UserRevisionLine numberNew contents of line
madcowswe 22:6e3218cf75f8 1
madcowswe 22:6e3218cf75f8 2 #ifndef MOTOR_CONTROL_H
madcowswe 22:6e3218cf75f8 3 #define MOTOR_CONTROL_H
madcowswe 22:6e3218cf75f8 4
madcowswe 22:6e3218cf75f8 5 namespace MotorControl{
madcowswe 22:6e3218cf75f8 6
madcowswe 22:6e3218cf75f8 7 extern float fwdcmd;
madcowswe 22:6e3218cf75f8 8 extern float thetacmd;
madcowswe 22:6e3218cf75f8 9
madcowswe 22:6e3218cf75f8 10 inline void set_fwdcmd(float infwdcmd){
madcowswe 22:6e3218cf75f8 11 fwdcmd = infwdcmd;
madcowswe 22:6e3218cf75f8 12 }
madcowswe 22:6e3218cf75f8 13
madcowswe 22:6e3218cf75f8 14 inline void set_thetacmd(float inthetacmd){
madcowswe 22:6e3218cf75f8 15 thetacmd = inthetacmd;
madcowswe 22:6e3218cf75f8 16 }
madcowswe 22:6e3218cf75f8 17
madcowswe 22:6e3218cf75f8 18 }
madcowswe 22:6e3218cf75f8 19
madcowswe 22:6e3218cf75f8 20 #endif //MOTOR_CONTROL_H