Skip to content

Conversation

@AngusJull
Copy link
Contributor

Added a magnetic field block that is essentially the same as the acceleration block. Units are in milligauss as that's roughly the sensitivity of the magnetometer we're using.

@AngusJull AngusJull requested a review from linguini1 March 21, 2025 18:08
@AngusJull AngusJull self-assigned this Mar 21, 2025
Copy link
Collaborator

@linguini1 linguini1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer that the data be transmitted in Teslas (or some variant, like microteslas) as this is the SI unit for magnetic fields and the same unit used by the uORB framework. Doing it in gauss requires an extra conversion, and is less common in general. I also don't think we should base the packet format around the specific sensors we have this year (although I know it's currently practical).

@AngusJull
Copy link
Contributor Author

I also changed the numbering for the types - 0x05 wasn't being used which was a little odd, may as well fix that while we're updating the packet spec on the telem app and groundstation

@AngusJull AngusJull merged commit 9caa0d5 into main Apr 1, 2025
@AngusJull AngusJull deleted the magnetometer branch April 1, 2025 03:11
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.

3 participants