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

Add calibration parameters for IMU data #5

Merged
merged 5 commits into from
Jan 29, 2024

Conversation

aburt2
Copy link
Contributor

@aburt2 aburt2 commented Nov 29, 2023

Added calibration parameters for the IMU data for Sensor fusion. Based on the calibration parameters from https://github.com/xioTechnologies/Fusion.

  • adds gyro and accelerometer offset (only does offset calibration, does not include misalignment or sensitivity matrix)
  • adds parameters for both soft and hard iron magnetometer calibration
  • adds three methods calibrateAccelerometer, calibrateMagnetometer and calibrateGyroscope for calibrating the values sent to the sensor fusion algorithm
  • Does not calibrate the sensors only computes the calibrated values given the calibration parameters

@aburt2 aburt2 mentioned this pull request Nov 29, 2023
7 tasks
@aburt2
Copy link
Contributor Author

aburt2 commented Jan 23, 2024

@edumeneses forgot I had finished this a while ago

@edumeneses
Copy link
Member

Great. Thanks for that.

Please keep in mind that the refactor will probably break a lot of things.

I will make a release before refactoring to ensure compatibility with old firmware.

@aburt2
Copy link
Contributor Author

aburt2 commented Jan 27, 2024

Thanks @edumeneses can you merge it, I don't have access to merge for this repo

@edumeneses edumeneses merged commit 24233c5 into Puara:main Jan 29, 2024
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

Successfully merging this pull request may close these issues.

2 participants