tygamvrelis / oil_lamp

Gimballed oil lantern motion recording & playback
1 stars 0 forks source link

Log raw data in plaintext #6

Closed tygamvrelis closed 5 years ago

tygamvrelis commented 5 years ago

Fixes #1 and #3

tygamvrelis commented 5 years ago

TODO:

  1. Supporting loading the raw data from plain text
  2. Supporting plotting the raw data
  3. Supporting plotting the raw data post-filter, with tuneable filter parameters
tygamvrelis commented 5 years ago

The latest change brings in new analysis flows which should prove useful and can easily be extended to have parameterized filters. Example usage:

Plot raw data from lamp IMU

python lamp.py --analyze=13052019_22_12_30.dat --imu=lamp

Plot raw data from base IMU

python lamp.py --analyze=13052019_22_12_30.dat --imu=base

Plot raw data from both IMUs

python lamp.py --analyze=13052019_22_12_30.dat --imu=both

Plot individual pitch and roll angles from lamp IMU

python lamp.py --analyze=13052019_22_12_30.dat --estimate=ind_angles --imu=lamp

Plot individual pitch and roll angles from both IMUs

python lamp.py --analyze=13052019_22_12_30.dat --estimate=ind_angles --imu=both

Plot combined pitch and roll angles (base + lamp)

python lamp.py --analyze=13052019_22_12_30.dat --estimate=comb_angles