Skip to content

Allow setting IMU calibration values via the configuration page #51

Description

@usedhondacivic

The IMU is fairly low quality and drifts significantly. The typical way of dealing with this is to apply offsets to each axis to compensate for drift, recalibrating as necessary.
The process of calibrating the gyro should be a simple as possible. Ideally this will happen through the configuration page.

  1. User places the robot down and leaves it still
  2. Click "calibrate IMU button" on the configuration page and wait for some sampling period (10s?)
  3. Robot collects an average for the gyro values at rest, saves the values to flash.
  4. On reboot the values are read from flash and applied to all gyro readings

This is a breaking change for mote-api and mote-ffi, so it will need to be rereleased.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions