Processing the data from an entire (or by file) flight to geolocate a quick image. All done using a Linux Mint 18 live USB stick on the Panasonic Toughbook CF-54 and external USB3 drives.
Inputs:
sudo apt-get install libc6-dev
sudo apt-get update sudo apt install g++
Using the program applanixraw2out.c to convert the raw binary data to our .out format.
cat /media/mint/LVIS_RED002/57927/B200T_N44U/imu/610i_0341/* > /media/mint/RABINE_2015_BACKUP/tmp/applanixraw57927.bin
cd /home/mint/code/applanix gcc applanixraw2out.c -o applanixraw2out
./applanixraw2out /media/mint/RABINE_2015_BACKUP/tmp/applanixraw57927.bin
mv applanix_raw_traj.out /media/mint/RABINE_2015_BACKUP/tmp/applanix57927_20170623.out
Turn an entire flight of data into a single binary file we can geolocate.
fpout = fopen(argv[2],"wb");
fpout = fopen(argv[2],"ab");
g++ lvisfile2quicklook.c xmcParseMeta.cpp -o lvisfile2quicklook
nano runme
#!/bin/bash for file in $1/lvis_*.dat do echo "Processing file $file..." ~/code/lvis2quicklook/lvisfile2quicklook $file /media/mint/RABINE_2015_BACKUP/tmp/lvisquicklook.dat done
chmod 755 runme
time ./runme /media/mint/LVIS_RED002/57927/B200T_N44U/rtlvis/