most functionality to splashdwon, find neutral and start mission. short timeouts still in code for testing, will adjust to go directly to sit_idle after splashdown
Dependencies: mbed MODSERIAL FATFileSystem
Diff: LinearActuator/LinearActuator.cpp
- Revision:
- 14:85b64a4d08e8
- Parent:
- 13:84fcbe1dcd62
- Child:
- 54:d4990fb68404
--- a/LinearActuator/LinearActuator.cpp Mon Oct 30 21:09:19 2017 +0000 +++ b/LinearActuator/LinearActuator.cpp Tue Oct 31 17:06:52 2017 +0000 @@ -273,6 +273,7 @@ //trap the program here while we wait for the limit switch to be triggered //when it does, the limit interrupt will stop the motors if (_limit) { + pc().printf("\r\nHit limit switch\r\n"); //the switch has been pressed if (abs(_filter.getVelocity()) < 0.1) { //this is here to make sure the adc filter is not jittering around