Santiago Cortés · Arno Solin · Juho Kannala
Strapdown inertial navigation systems are sensitive to the quality of the data provided by the accelerometer and gyroscope. Low-grade IMUs in handheld smart-devices pose a problem for inertial odometry on these devices. We propose a scheme for constraining the inertial odometry problem by complementing non-linear state estimation by a CNN-based deep-learning model for inferring the momentary speed based on a window of IMU samples.
This repository provides the codes for replicationg the speed regression setup in [1]. Please, if you use this code/data, please cite the original paper presenting it.
Ubuntu 16.04 and python 2.7 (including numpy and matplotlib) were used in all the tests.
The following Python packages were also used
Download and unzip ADVIO dataset files (see ADVIO).
cd data
for i in $(seq -f "%02g" 1 23);
do
wget -O advio-$i.zip https://zenodo.org/record/1321157/files/advio-$i.zip
unzip advio-$i.zip
rm advio-$i.zip
done
cd ..
Synchronize the accelerometer and gyroscope in the ADVIO data.
cd python
python sync-data.py
cd python
python DCI-training-0.0.2.py
[1] Santiago Cortés, Arno Solin, and Juho Kannala, “Deep Learning Based Speed Estimation for Constraining Strapdown Inertial Navigation on Smartphones”, IEEE International Workshop on Machine Learning for Signal Processing (MLSP), Aalborg, Denmark, 2018. [arXiv]
This software is distributed under the GNU General Public License (version 3 or later); please refer to the file LICENSE.txt
, included with the software, for details.