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 ros_lib_kinetic
Diff: lift.cpp
- Revision:
- 3:527f0b949839
- Parent:
- 2:0537a8007a39
- Child:
- 4:89ebfa37663b
--- a/lift.cpp Thu Feb 08 22:23:40 2018 +0000 +++ b/lift.cpp Thu Feb 08 22:55:15 2018 +0000 @@ -21,11 +21,7 @@ else if(control.height < currentPosition){ liftDirection.write(LIFTDOWN); } - // Check if arrived at destination height. -// if (abs(control.height - currentPosition) < 5){ -// control.liftRun = false; -// liftSpeed.write(0); -// } + //Check If Arrived if (control.height == currentPosition){ control.liftRun = false; liftSpeed.write(0);