Colour sensors calibrated

Dependencies:   mbed-rtos mbed Servo QEI

Fork of ICRSEurobot13 by Thomas Branch

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers MotorControl.h Source File

MotorControl.h

00001 
00002 #ifndef MOTOR_CONTROL_H
00003 #define MOTOR_CONTROL_H
00004 
00005 namespace MotorControl{
00006     
00007     extern float fwdcmd;
00008     extern float omegacmd;
00009     
00010     inline void set_fwdcmd(float infwdcmd){
00011         fwdcmd = infwdcmd;
00012     }
00013     
00014     inline void set_omegacmd(float inomega){
00015         omegacmd = inomega;
00016     }
00017     
00018     void motor_control_isr();
00019     
00020 }
00021 
00022 #endif //MOTOR_CONTROL_H