Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Motordriver mbed-rtos mbed
Fork of MultiModalRobotSM by
Diff: MultiModalRobot/MultiModalRobot.h
- Revision:
- 15:9bc36f47c8cf
- Child:
- 20:e1a78ee68726
--- /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
