IMUConfig
- class IMUConfig(save_accel_gyro: bool = True, save_orientation: bool = True, save_magnetometer: bool = False)[source]
Bases:
objectWhat to WRITE to disk. The three flags are independent, with one rule: orientation requires accel+gyro. All-off is valid (logs only sample, timestamp, sync). Orientation uses the magnetometer when it is being received; otherwise it falls back to accel+gyro (yaw will drift).
- __init__(save_accel_gyro: bool = True, save_orientation: bool = True, save_magnetometer: bool = False) None
Methods
Attributes
- save_accel_gyro: bool = True
- save_orientation: bool = True
- save_magnetometer: bool = False
- validate() None[source]
- columns() list[str][source]
Ordered list of data columns to write, given the flags.