Mechatronics Robotics
/
BrobotV1
These are the core files for the Robot at Team conception.
Diff: Brobot.h
- Revision:
- 8:351b0b7b05b2
- Parent:
- 0:eba74e7a229b
- Child:
- 11:05d5539141c8
- Child:
- 15:4efc66de795a
diff -r ff0674b96cc5 -r 351b0b7b05b2 Brobot.h --- a/Brobot.h Fri May 26 08:07:24 2017 +0000 +++ b/Brobot.h Mon May 29 13:03:28 2017 +0000 @@ -8,6 +8,7 @@ #include <cstdlib> #include <mbed.h> +#include "SpeedControl.h" /** * This is a device driver class to drive the robot autonomously @@ -17,8 +18,8 @@ public: // constructors have same name as the class - Brobot(PwmOut* left, PwmOut* right, int number); - Brobot(); //empty constructor + Brobot(SpeedControl* speedctrl, int number); + //Brobot(); //empty constructor // void init(PwmOut* left, PwmOut* right, int number); @@ -34,6 +35,7 @@ PwmOut* pwmL; PwmOut* pwmR; int number; + SpeedControl* speedctrl; }; #endif /* BROBOT_H_ */