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:
- 12:8295c02d740f
- Parent:
- 7:a80cb6b06320
- Child:
- 25:bdb854127c11
--- a/robot.h Wed Nov 02 16:29:13 2016 +0000
+++ b/robot.h Thu Nov 03 13:08:44 2016 +0000
@@ -20,9 +20,13 @@
float getUpperArmLength();
// Get lower arm length
float getLowerArmLength();
- // Set upper arm velocity
+ // Get upper arm velocity estimation by the encoder (rad/s)
+ float getUpperArmEncoderVelocity();
+ // Get lower arm velocity estimation by the encoder (rad/s)
+ float getLowerArmEncoderVelocity();
+ // Set upper arm reference velocity
void setUpperArmVelocity(float referenceVelocity);
- // Set lower arm velocity
+ // Set lower arm reference velocity
void setLowerArmVelocity(float referenceVelocity);
// Safety shutdown
void kill();