Skip to content

correcting_measurement_units #23

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 2 commits into from
Jun 3, 2021
Merged

correcting_measurement_units #23

merged 2 commits into from
Jun 3, 2021

Conversation

jposada202020
Copy link

@jposada202020 jposada202020 commented May 8, 2021

solves #20 .
The design guide is correct. However the sensor gives DPS or degrees per second as an output measure
This is stated in the Datasheet
image
also in the learning guide
https://learn.adafruit.com/comparing-gyroscope-datasheets

Changes were made in the example and also in the library.

The DPS measure was confirmed changing the rng parameter. and tested in

Adafruit CircuitPython 6.2.0 on 2021-04-05; Adafruit Feather RP2040 with rp2040

@jposada202020 jposada202020 requested a review from a team May 8, 2021 04:55
@ladyada
Copy link
Member

ladyada commented May 8, 2021

ehh? the sensor should not be returning dps - it should definitely be rps which is the SI unit we are standardizing on
https://circuitpython.readthedocs.io/en/6.2.x/docs/design_guide.html#sensor-properties-and-units
id rather do a major update, so this sensor is the same as every other gyro
zat ok?

@jposada202020
Copy link
Author

Will do~, was not sure to the path to be taken, for that reason I changed the example instead of the library. Will change this library to get rad/s and verify if other gyros/accel have any issue that need to be corrected.
Thanks

@ladyada
Copy link
Member

ladyada commented May 8, 2021

thank you - this was a very early library, we probably hadnt settled on the units by then :)

@jposada202020 jposada202020 marked this pull request as draft May 8, 2021 15:54
@jposada202020 jposada202020 marked this pull request as ready for review May 9, 2021 01:23
@jposada202020 jposada202020 linked an issue May 10, 2021 that may be closed by this pull request
@evaherrada evaherrada changed the base branch from master to main June 2, 2021 18:17
@jposada202020
Copy link
Author

This one was left out while correcting the Gyro units..:)

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Thank you!

@tannewt tannewt merged commit 92155c7 into adafruit:main Jun 3, 2021
@jposada202020 jposada202020 deleted the correcting_measuremnt_units branch June 3, 2021 19:38
@evaherrada
Copy link
Collaborator

@jposada202020 Do you think you could reopen this branch and make another PR? I messed something up with moving to main and this PR wasn't included in the main branch.

@tannewt
Copy link
Member

tannewt commented Jun 7, 2021

Hold off on making another PR. We should be able to recover the full history.

@jposada202020
Copy link
Author

:) will do

adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jun 8, 2021
Updating https://github.com/adafruit/Adafruit_CircuitPython_BME280 to 2.6.5 from 2.6.4:
  > Moved default branch to main
  > Merge pull request adafruit/Adafruit_CircuitPython_BME280#52 from jposada202020/memory_otimization
  > Moved CI to Python 3.7

Updating https://github.com/adafruit/Adafruit_CircuitPython_HTU31D to 1.1.1 from 1.1.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_HTU31D#6 from gmparis/main
  > Moved CI to Python 3.7
  > Added help text and problem matcher
  > Added pull request template

Updating https://github.com/adafruit/Adafruit_CircuitPython_ICM20X to 2.0.8 from 2.0.7:
  > Linted
  > Moved default branch to main
  > Moved CI to Python 3.7
  > Added help text and problem matcher
  > Added pull request template

Updating https://github.com/adafruit/Adafruit_CircuitPython_IRRemote to 4.1.0 from 4.0.6:
  > Moved default branch to main
  > Merge pull request adafruit/Adafruit_CircuitPython_IRRemote#42 from danielballan/nonblocking
  > Moved CI to Python 3.7
  > Added help text and problem matcher
  > Added pull request template

Updating https://github.com/adafruit/Adafruit_CircuitPython_L3GD20 to 2.3.6 from 2.3.5:
  > Merge pull request adafruit/Adafruit_CircuitPython_L3GD20#23 from jposada202020/correcting_measuremnt_units
  > Moved default branch to main
  > Moved CI to Python 3.7
  > Added help text and problem matcher
  > Added pull request template

Updating https://github.com/adafruit/Adafruit_CircuitPython_SGP40 to 1.1.0 from 1.0.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_SGP40#4 from CrakeNotSnowman/voc_algorithm_dev
  > Moved CI to Python 3.7
  > Added help text and problem matcher
  > Added pull request template

Updating https://github.com/adafruit/Adafruit_CircuitPython_SHTC3 to 1.1.2 from 1.1.1:
  > Moved default branch to main
  > Merge pull request adafruit/Adafruit_CircuitPython_SHTC3#11 from jposada202020/master
  > Moved CI to Python 3.7
  > Added help text and problem matcher
  > Added pull request template

Updating https://github.com/adafruit/Adafruit_CircuitPython_SI4713 to 1.3.2 from 1.3.1:
  > Moved default branch to main
  > Merge pull request adafruit/Adafruit_CircuitPython_SI4713#20 from jposada202020/solving_station_information

Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1306 to 2.11.6 from 2.11.5:
  > Corrected url
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1306#64 from jposada202020/correcting_example_link

Updating https://github.com/adafruit/Adafruit_CircuitPython_Colorsys to 2.0.1 from 2.0.0:
  > Moved default branch to main
  > Merge pull request adafruit/Adafruit_CircuitPython_Colorsys#17 from GomiHgy/patch-1
  > Moved CI to Python 3.7
  > Added help text and problem matcher
  > Added pull request template

Updating https://github.com/adafruit/Adafruit_CircuitPython_FunHouse to 2.1.4 from 2.1.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_FunHouse#17 from jposada202020/adding_new_guides
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.

Example Output
4 participants