update with altimeter, swimfile.txt endleg.txt, etc see changes_13sep.txt also reset_PI()
Dependencies: mbed MODSERIAL FATFileSystem
ConfigFileIO/ConfigFileIO.hpp@21:38c8544db6f4, 2017-11-22 (annotated)
- Committer:
- tnhnrl
- Date:
- Wed Nov 22 23:04:11 2017 +0000
- Revision:
- 21:38c8544db6f4
- Parent:
- Config_File_IO/ConfigFileIO.hpp@17:7c16b5671d0e
- Child:
- 38:83d06c294807
A few large changes and a few small changes. Works on the bench.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tnhnrl | 17:7c16b5671d0e | 1 | #include "mbed.h" |
tnhnrl | 17:7c16b5671d0e | 2 | #include "ConfigFile.h" |
tnhnrl | 17:7c16b5671d0e | 3 | |
tnhnrl | 17:7c16b5671d0e | 4 | #ifndef CONFIGFILEIO_HPP |
tnhnrl | 17:7c16b5671d0e | 5 | #define CONFIGFILEIO_HPP |
tnhnrl | 17:7c16b5671d0e | 6 | |
tnhnrl | 17:7c16b5671d0e | 7 | class ConfigFileIO { |
tnhnrl | 17:7c16b5671d0e | 8 | public: |
tnhnrl | 17:7c16b5671d0e | 9 | ConfigFileIO(); |
tnhnrl | 17:7c16b5671d0e | 10 | |
tnhnrl | 21:38c8544db6f4 | 11 | void savePitchData(float p_gain, float i_gain, float d_gain, int batt_zeroOffset); |
tnhnrl | 21:38c8544db6f4 | 12 | void saveDepthData(float p_gain, float i_gain, float d_gain, int bce_zeroOffset); |
tnhnrl | 17:7c16b5671d0e | 13 | |
tnhnrl | 21:38c8544db6f4 | 14 | //ConfigFunctions |
tnhnrl | 21:38c8544db6f4 | 15 | int load_BCE_config(); |
tnhnrl | 21:38c8544db6f4 | 16 | int load_BATT_config(); |
tnhnrl | 21:38c8544db6f4 | 17 | int load_DEPTH_config(); |
tnhnrl | 21:38c8544db6f4 | 18 | int load_PITCH_config(); |
tnhnrl | 21:38c8544db6f4 | 19 | int load_script(); |
tnhnrl | 17:7c16b5671d0e | 20 | |
tnhnrl | 17:7c16b5671d0e | 21 | private: |
tnhnrl | 17:7c16b5671d0e | 22 | float _neutral_batt_pos_mm; |
tnhnrl | 17:7c16b5671d0e | 23 | float _neutral_bce_pos_mm; |
tnhnrl | 17:7c16b5671d0e | 24 | }; |
tnhnrl | 17:7c16b5671d0e | 25 | #endif |