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 PID MMA8451Q
Diff: quadCommand/quadCommand.h
- Revision:
- 20:4cdabb792d16
- Parent:
- 19:666261bbc111
- Child:
- 40:8c01bf294768
--- a/quadCommand/quadCommand.h Mon Jun 10 00:18:23 2013 +0000
+++ b/quadCommand/quadCommand.h Mon Jun 10 00:24:39 2013 +0000
@@ -39,7 +39,9 @@
void run(); // Loop.
void rxInput(); // Deal with new input from xbee.
void updateMotors();
-
+
+ static const float MOTOR_UPDATE;
+
private:
motor *myMotors[4]; // Array of motor objects.
com *myCom; // The com object.
@@ -59,8 +61,6 @@
PID pidPitch;
PID pidRoll;
PID pidYaw;
-
- static const float MOTOR_UPDATE;
};
#endif
\ No newline at end of file
