Imagine that you want to synchronize two smartphones1 for stereoscopic (or multiscopic) photo or video shutting with microseconds accuracy and precision. Or you need to synchronize Azure Kinect DK depth frames2 with smartphone frames.
Twist-n-Sync is a time synchronization algorithm that can solve the time sync issues by employing gyroscope chips widely available in millions of comsumer gadgets.
Another benefical usage of the package is synchronization of diverse motion capture (mocap) systems (OptiTrack, Vicon) that provide ground truth data for robot navigation and state estimation algorithms (Wheeled, Visual, Visual-Inertial Odometry and SLAM).
pip install twistnsync
WIP: The python notebook examples in examples
folder provide comprehensive mini-tutorials how to use the code:
- two systems sync by gyroscope data;
- TODO mocap data (position orientation) and robot data sync;
- TODO clock drift evaluation of two independent systems;
In case of usage of the materials, please, refer to the source and/or publications:
1
@article{faizullin2021twist,
title={Twist-n-Sync: Software Clock Synchronization with Microseconds Accuracy Using MEMS-Gyroscopes},
author={Faizullin, Marsel and Kornilova, Anastasiia and Akhmetyanov, Azat and Ferrer, Gonzalo},
journal={Sensors},
volume={21},
number={1},
pages={68},
year={2021},
publisher={Multidisciplinary Digital Publishing Institute}
}
2
@ARTICLE{9709778,
author={Faizullin, Marsel and Kornilova, Anastasiia and Akhmetyanov, Azat and Pakulev, Konstantin and Sadkov, Andrey and Ferrer, Gonzalo},
journal={IEEE Sensors Journal},
title={SmartDepthSync: Open Source Synchronized Video Recording System of Smartphone RGB and Depth Camera Range Image Frames with Sub-millisecond Precision},
year={2022},
volume={},
number={},
pages={1-1},
doi={10.1109/JSEN.2022.3150973}
}
This package was created with Cookiecutter and the zillionare/cookiecutter-pypackage project template.