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 MODSERIAL FATFileSystem
Diff: LinearActuator/LinearActuator.hpp
- Revision:
- 11:3b241ecb75ed
- Parent:
- 10:085ab7328054
- Child:
- 15:2a8cfd3f1cf5
--- a/LinearActuator/LinearActuator.hpp Mon Oct 23 12:50:53 2017 +0000
+++ b/LinearActuator/LinearActuator.hpp Fri Oct 27 00:37:32 2017 +0000
@@ -29,9 +29,11 @@
// setting and getting variables
void setPosition_mm(float dist);
+ float getSetPosition_mm();
+
float getPosition_mm();
+ float getPosition_counts();
float getVelocity_mms();
-// float getPosition_counts();
void setControllerP(float P);
float getControllerP();
@@ -59,6 +61,7 @@
void setFilterFrequency(float frequency);
void setDeadband(float deadband);
+ float getDeadband();
bool toggleDeadband(bool toggle);
protected: