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: CircularBuffer Servo Terminal mbed Radio
Diff: RobotLeg.cpp
- Revision:
- 8:db453051f3f4
- Parent:
- 7:aac5f901bd76
- Child:
- 9:a6d1502f0f20
--- a/RobotLeg.cpp Sun Jan 13 20:43:28 2013 +0000
+++ b/RobotLeg.cpp Thu Jan 17 18:34:09 2013 +0000
@@ -3,7 +3,7 @@
-RobotLeg::RobotLeg(PinName thetaPin, PinName phiPin, PinName psiPin) : theta(thetaPin), phi(phiPin), psi(psiPin)
+RobotLeg::RobotLeg(PinName thetaPin, PinName phiPin, PinName psiPin, bool start) : theta(thetaPin, start), phi(phiPin, start), psi(psiPin, start)
{
setDimensions(0.1f, 0.1f, 0.0f, 0.0f);
setAngleOffsets(0.0f, 0.0f, 0.0f);