This is some awesome robot code

Dependencies:   mbed-rtos mbed QEI

Fork of ICRSEurobot13 by Thomas Branch

Processes/MotorControl/MotorControl.h

Committer:
madcowswe
Date:
2013-04-09
Revision:
22:6e3218cf75f8
Child:
25:b16f1045108f

File content as of revision 22:6e3218cf75f8:


#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