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: mbed
Fork of RCControlOOP by
Diff: Mousr.h
- Revision:
- 2:e9042e88abf1
- Parent:
- 0:78e2af20cbf3
- Child:
- 3:b3ec75e9163f
--- a/Mousr.h Sun Sep 21 14:43:47 2014 +0000
+++ b/Mousr.h Wed Oct 08 16:59:47 2014 +0000
@@ -12,22 +12,32 @@
void flipLeft();
void flipRight();
float getStraightSpeed();
+ float getStraightSlowSpeed();
float getRotateSlowSpeed();
float getRotateSpeed();
float getRotateFastSpeed();
private:
- PwmOut m1a;
- PwmOut m1b;
- PwmOut m2a;
- PwmOut m2b;
+ // PwmOut m1a;
+ // PwmOut m1b;
+ // PwmOut m2a;
+ // PwmOut m2b;
+ DigitalOut mstby;
+ PwmOut m_a1;
+ PwmOut m_a2;
+ PwmOut mpwma;
+ PwmOut m_b1;
+ PwmOut m_b2;
+ PwmOut mpwmb;
float straightSpeed;
+ float straightSlowSpeed;
float rotateSlowSpeed;
float rotateSpeed ;
float rotateFastSpeed;
float flipStraightSpeed;
float flipStraightWait;
+ float flipStopWait;
float flipRotateSpeed;
float flipRotateWait;
};
