Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build IMU checkout function #27

Open
2 of 9 tasks
jacobrdavis opened this issue Nov 21, 2022 · 0 comments
Open
2 of 9 tasks

build IMU checkout function #27

jacobrdavis opened this issue Nov 21, 2022 · 0 comments
Assignees

Comments

@jacobrdavis
Copy link
Collaborator

jacobrdavis commented Nov 21, 2022

Build imu.checkout(), a function within the imu.py submodule which initializes, runs, and diagnoses the IMU module. Some ideas:

  • turn on and initialize the IMU module
  • run the IMU module for a short period of time (e.g. one minute) using the recordIMU.py function
  • confirm that the test data contains all of the expected fields and are uniform in length (and close to what is expected based on the sampling frequency and record length)
  • check the test data to confirm the data is not
  • record the biases of the accelerometer and gyroscope fields; return these to the user for calibration (or directly write them to a calibration file?)
  • confirm the specified sampling frequency matches the sampling frequency set by the user with the config file (from the data and by checking the IMU module settings)
  • check acceleration G limits and confirm they match the config file
  • check the accelerations and gyroscope readings close to zero (for a stationary test) (using the recorded biases?)
  • create a sub report describing the module's performance and any diagnostics suggestions, then return it to checkout.py?

There may be some preexisting tests in the couldbeuseful/ directory that can be reused; see imu.record() and the IMU module documentation for interfacing with the IMU module itself.

@jacobrdavis jacobrdavis added this to the microSWIFT checkout milestone Nov 21, 2022
@cranders-bio cranders-bio self-assigned this Nov 21, 2022
@jacobrdavis jacobrdavis changed the title build checkoutIMU build IMU checkout function Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants