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

Fix laggy sensor readings #9

Merged
merged 1 commit into from
Dec 6, 2024
Merged

Fix laggy sensor readings #9

merged 1 commit into from
Dec 6, 2024

Conversation

caternuson
Copy link
Contributor

Fix for #8.

Tested on a host PC (linux) running Blinka with BNO080 in RVC mode connected via a USB serial cable.

Running the bno08x_rvc_simpletest.py example and moving the BNO080 around:

Yaw: 48.87 Pitch: 53.74 Roll: -42.84 Degrees
Acceleration X: 3.53 Y: 10.78 Z: 5.22 m/s^2

Yaw: 72.21 Pitch: 10.53 Roll: -3.19 Degrees
Acceleration X: 0.88 Y: -1.42 Z: 8.51 m/s^2

Yaw: 48.20 Pitch: -77.66 Roll: 20.54 Degrees
Acceleration X: 1.30 Y: -13.22 Z: 8.74 m/s^2

Yaw: -123.97 Pitch: -39.02 Roll: 156.02 Degrees
Acceleration X: -3.80 Y: -12.31 Z: -9.74 m/s^2

Yaw: -157.34 Pitch: 12.85 Roll: 150.78 Degrees
Acceleration X: -5.22 Y: -2.03 Z: -3.33 m/s^2

Yaw: -172.79 Pitch: 35.50 Roll: 129.35 Degrees
Acceleration X: -5.75 Y: 3.83 Z: -3.53 m/s^2

Yaw: -170.95 Pitch: 22.51 Roll: 170.67 Degrees
Acceleration X: -5.98 Y: 4.22 Z: -10.54 m/s^2

Readings now update as expected.

@caternuson caternuson requested a review from a team December 5, 2024 17:33
Copy link
Member

@tekktrik tekktrik left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@caternuson caternuson merged commit 124ab9a into adafruit:main Dec 6, 2024
1 check passed
@caternuson
Copy link
Contributor Author

Thanks!

adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Dec 10, 2024
Updating https://github.com/adafruit/Adafruit_CircuitPython_AD569x to 2.0.5 from 2.0.4:
  > Merge pull request adafruit/Adafruit_CircuitPython_AD569x#5 from adafruit/reset_fix

Updating https://github.com/adafruit/Adafruit_CircuitPython_BMP3XX to 1.3.21 from 1.3.20:
  > Merge pull request adafruit/Adafruit_CircuitPython_BMP3XX#25 from jposada202020/adding_displayio_example

Updating https://github.com/adafruit/Adafruit_CircuitPython_BNO08X_RVC to 1.0.18 from 1.0.17:
  > Merge pull request adafruit/Adafruit_CircuitPython_BNO08x_RVC#9 from caternuson/iss8

Updating https://github.com/adafruit/Adafruit_CircuitPython_EPD to 2.13.1 from 2.13.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_EPD#84 from mikeysklar/1680z-alignment

Updating https://github.com/adafruit/Adafruit_CircuitPython_VCNL4010 to 0.11.12 from 0.11.11:
  > Merge pull request adafruit/Adafruit_CircuitPython_VCNL4010#26 from jposada202020/adding_displayIO_example

Updating https://github.com/adafruit/Adafruit_CircuitPython_VEML6070 to 3.1.21 from 3.1.20:
  > Merge pull request adafruit/Adafruit_CircuitPython_VEML6070#26 from jposada202020/adding_displayio_example

Updating https://github.com/adafruit/Adafruit_CircuitPython_datetime to 1.3.0 from 1.2.8:
  > Merge pull request adafruit/Adafruit_CircuitPython_datetime#27 from FoamyGuy/isoformat_Z_parse

Updating https://github.com/adafruit/Adafruit_CircuitPython_FancyLED to 1.4.21 from 1.4.20:
  > Merge pull request adafruit/Adafruit_CircuitPython_FancyLED#31 from FoamyGuy/use_ruff

Updating https://github.com/adafruit/Adafruit_CircuitPython_PIOASM to 1.3.0 from 1.2.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_PIOASM#73 from adafruit/side-set-pindirs-directive

Updating https://github.com/adafruit/Adafruit_CircuitPython_turtle to 3.1.2 from 3.1.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_turtle#48 from FoamyGuy/visible_turtle_loc_fix

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Updated download stats for the libraries
@caternuson caternuson mentioned this pull request Dec 12, 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