Dependencies: Motordriver mbed-rtos mbed
Fork of MultiModalRobot by
Diff: MultiModalRobot/MultiModalRobot.h
- Revision:
- 15:9bc36f47c8cf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MultiModalRobot/MultiModalRobot.h Mon Nov 20 03:18:42 2017 +0000 @@ -0,0 +1,17 @@ +#ifndef MULTIMODALROBOT_H +#define MULTIMODALROBOT_H + +#include "motordriver.h" + +class MultiModalRobot { + private: + Motor& leftWheel; + Motor& rightWheel; + public: + MultiModalRobot(Motor& left, Motor& right); + void driveWheels(float leftSpeed, float rightSpeed); + void stop(float dutyCycle); + +}; + +#endif \ No newline at end of file