CopterCombine is a program in C, that combines logs from MVS station, magnetometer and copter itself
Clone repository to your computer with git
cd /path-to-clone-to
git clone github.com/Cub1tor/CopterCombine.gitor Download the archive and unzip it with any tool
make
# or
make Combinemake clean- First one is the path to file with MVS station log
- Second one is the path to file with Magnetometer log
- Third one is the path to file with Copter log
- Fourth one is the path to file which will contain result (will be created or overwritten)
./combine /logs/mvs-log.txt /logs/magnetometer-log.txt /logs/copter-log.txt /logs/full-log.txtComments are the first lines, starting with ;
Format for one line:
Field -> 8 digits, doubleMeasurement error -> 5 digits, doubleStation number -> 2 digits, integerDate -> MM.DD.YYTime -> HH:MM:SS,mm
Comments are the first lines without numerical digits
Format for one line:
Date -> DD.MM.YYYYTime -> HH:MM:SS9 values -> each no more than 15 digits
0 -> All is fine1 -> Not enough input files2 -> No output file3 -> Too many arguments passed4 -> File with MVS station log can't be opened5 -> File with Magnetometer log can't be opened6 -> File with Copter log can't be opened7 -> Output can't be opened8 -> One of the files is not opened when trying ro read9 -> No buffer provided to store data10 -> Error occurred while reading from file11 -> Error occurred while writing into file12 -> One of the files has no values inside13 -> Invalid seconds value in date14 -> Invalid minute value in date15 -> Invalid hour value in date16 -> Invalid day value in date17 -> Invalid month value in date18 -> MVS station started recording after or at the same time with copter's take-off19 -> MVS station finished recording before or at the same time with copter's landing20 -> Magnetometer started recording after or at the same time with copter's take-off21 -> Magnetometer finished recording before or at the same time with copter's landing