Colour sensors calibrated

Dependencies:   mbed-rtos mbed Servo QEI

Fork of ICRSEurobot13 by Thomas Branch

Processes/MotorControl/MotorControl.h

Committer:
xiaxia686
Date:
2013-04-12
Revision:
46:adcd57a5e402
Parent:
26:b16f1045108f

File content as of revision 46:adcd57a5e402:


#ifndef MOTOR_CONTROL_H
#define MOTOR_CONTROL_H

namespace MotorControl{
    
    extern float fwdcmd;
    extern float omegacmd;
    
    inline void set_fwdcmd(float infwdcmd){
        fwdcmd = infwdcmd;
    }
    
    inline void set_omegacmd(float inomega){
        omegacmd = inomega;
    }
    
    void motor_control_isr();
    
}

#endif //MOTOR_CONTROL_H