Skip to content

Added functionality to access the Gravity vector #104

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

Merged
merged 4 commits into from
Jan 23, 2023

Conversation

anant3110
Copy link
Contributor

  • Added variables and functions to enable reporting the gravity vector, a feature mentioned in the datasheet.
  • Added the same in the parseInput function using the shtpHeader.
  • Added functions to access the gravity vector and its accuracy
  • Added an example to check the feature.
  • Added the functions in the keywords.txt

PaulZC and others added 4 commits August 20, 2021 11:16
- Added functionality on the BNO080::parseInputReport(void) to interpret gravity packets.
- Added getGravityX, getGravityY and getGravityZ in the same format as the others reports.
- Added the function BNO080::enableGravity() which also functions like the other reports.

Tested with Teensy 4.0, Adafruit ItsyBitsy and ESP32.
@PaulZC
Copy link
Collaborator

PaulZC commented Jan 23, 2023

Hi Anant (@anant3110 ),

Thank you for the contribution! Merging for testing...

Very best wishes,
Paul

@PaulZC PaulZC linked an issue Jan 23, 2023 that may be closed by this pull request
@PaulZC PaulZC merged commit 308d0ca into sparkfun:release-candidate Jan 23, 2023
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.

[Feature Request] Add functionality to access Gravity packets
2 participants