Closed kevinjwalters closed 4 years ago
could be! @siddacious ya can take a look next week
BTW, you can dangle a board by its USB lead and twist that to get approximately 60 rpm as a crude measurement test if you don't have a spinnable platform to hand.
Similar issue over on https://github.com/adafruit/Adafruit_BNO055/issues/50 but perhaps that can't be changed because too much code + users would be affected.
sorry for the ate reply but yes, I can confirm that we're reporting dps not rads. I'll put in a fix and do a major release since the API is changing despite it also being a fix
Based on a quick test with an Adafruit CLUE using the https://github.com/adafruit/Adafruit_CircuitPython_CLUE library which is passthru for gyro value, the gyro return appears to be in degrees per second. The code in the example (and README) also suggest this is the case in the textual description of units: https://github.com/adafruit/Adafruit_CircuitPython_LSM6DS/blob/master/examples/lsm6ds33_simpletest.py#L12
https://circuitpython.readthedocs.io/en/latest/docs/design_guide.html#sensor-properties-and-units specifies
gyro
asx, y, z radians per second
(NB: inconsistent withorientation
specification; CP is consistent with C/Arduino spec here for these two values, see https://learn.adafruit.com/using-the-adafruit-unified-sensor-driver/how-does-it-work#standardised-si-units-for-sensor-data-2-2)Worth independent verification via datasheet or empircally before changing anything here...