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 QEI biquadFilter
Diff: robot.h
- Revision:
- 25:bdb854127c11
- Parent:
- 12:8295c02d740f
--- a/robot.h Thu Nov 03 16:41:47 2016 +0000
+++ b/robot.h Thu Nov 03 17:47:39 2016 +0000
@@ -8,13 +8,13 @@
Arm upperArm;
Arm lowerArm;
- // Safety first!
+ // Safety first! (If this flag is set, the robot will not move)
volatile bool killed;
public:
// Constructor
Robot();
- // Update arms
+ // Update arm instance variables
void update();
// Get upper arm length
float getUpperArmLength();