Robot

Dependencies:   mbed QEI

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Motor.h Source File

Motor.h

00001 #ifndef UNTITLED_MOTOR_H
00002 #define UNTITLED_MOTOR_H
00003 #include "Vector.h"
00004 #include "Sensor.h"
00005 #include "Control.h"
00006 #include "Driver.h"
00007 
00008 class Motor {
00009     float Degrees_Kinematics;
00010 private:
00011     friend class Robot;
00012     Vector<float> pcg;
00013     float Constrains_v;
00014     float Constrains_a;
00015     float Constrains_j;
00016     Sensor* _Sensor;
00017     Control* _Control;
00018     Driver* _Driver;
00019 public:
00020     Motor();
00021 };
00022 
00023 
00024 #endif //UNTITLED_MOTOR_H