update with altimeter, swimfile.txt endleg.txt, etc see changes_13sep.txt also reset_PI()
Dependencies: mbed MODSERIAL FATFileSystem
Diff: OuterLoop/OuterLoop.cpp
- Revision:
- 102:0f430de62447
- Parent:
- 87:6d95f853dab3
diff -r c24f70abb124 -r 0f430de62447 OuterLoop/OuterLoop.cpp --- a/OuterLoop/OuterLoop.cpp Fri Jun 28 15:07:41 2019 +0000 +++ b/OuterLoop/OuterLoop.cpp Fri Sep 13 16:51:48 2019 +0000 @@ -64,8 +64,10 @@ } else if (_sensor == 2) { _sensorVal = imu().getHeading(); } else if (_sensor == 3) { - _sensorVal = sensors().getAltimeterChannelReadings(); // 27mar2019 this is still in counts + // _sensorVal = sensors().getAltimeterChannelReadings(); // 27mar2019 this is still in counts // _sensorVal = imu().getPitch(); // 27mar2019 testing sensors error? + //} else if (_sensor == 3) { + _sensorVal = sensors().getAltimeterReading_m(); // CAM changed from counts to meters } else { error("\n\r This sensor option does not exist"); }