Exercise: reading synthetic navigation data

Start with self-generated timestamps and trajectories before installing external VIO tools.

Last updated:

A learner checking sensor data on a laptop in a robotics lab
AI-generated conceptual illustration

Prepare and run

Download trajectory-lab.py It uses Python 3 on Windows/Linux with no extra dependencies. Run python trajectory-lab.py or python3 trajectory-lab.py in the working folder. Results are placed in a new folder whose name begins with trajectory-output- so that earlier results are not overwritten.

Understand the data

Raw data example: a circular reference path compared with an estimated path that starts at the same position and then drifts 0.1 m away by 10 seconds

The program generates 101 reference positions on a circle and an estimate with an x-direction drift added deliberately. Both sets use the same time and frame, in seconds and metres. This data is not VIO output and contains no real camera/IMU data so it is used only for practising reading tables.

  1. Open trajectory.csv and check that time increases and the number of rows.
  2. Compare the reference and the estimate at the start and end times.
  3. Read summary.json then explain how the added drift affects the results.
  4. Record the OS/Python version and the command in your lab notebook.

Expected results

The start positions match; at 10 seconds the x-direction error equals 0.1 m, as set, and there are 101 samples. No aircraft parameters or network communications are changed.

Once you understand the table, use the replay dataset guide according to the project owner's environment. Running external VIO software is currently an item awaiting checking; it is not claimed to pass just because this exercise runs successfully.

Rights to use the exercise files

Download the LICENSE.txt licence, the Python code is under MIT; the forms are under CC BY 4.0, crediting PK-Research

References and scope

Sources checked 7 September B.E. 2569 (2026), compiled with knowledge kindly provided by DTI

Acknowledgements and sources

Used in courses

How to cite this page

Drone Institute, Rangsit University. (2026). Exercise: reading synthetic navigation data. In UAS Technology Knowledge Hub (B.Tech.). https://rsu-uat.pk-research.work/en/kb/practice/vio-data/

Original from Drone-Hub: https://drone.pk-research.work/practice/vio-data/ · © PK-Research