|
2 | 2 | #
|
3 | 3 | # SPDX-License-Identifier: MIT
|
4 | 4 | """
|
5 |
| -`adafruit_bno080` |
| 5 | +`adafruit_bno08x` |
6 | 6 | ================================================================================
|
7 | 7 |
|
8 |
| -Helper library for the Hillcrest Laboratories BNO080 IMU |
| 8 | +Helper library for the Hillcrest Laboratories BNO08x IMUs |
9 | 9 |
|
10 | 10 |
|
11 | 11 | * Author(s): Bryan Siepert
|
|
15 | 15 |
|
16 | 16 | **Hardware:**
|
17 | 17 |
|
18 |
| -* `Adafruit BNO080 Breakout <https:www.adafruit.com/products/47XX>`_ |
| 18 | +* `Adafruit BNO08x Breakout <https:www.adafruit.com/products/4754>`_ |
19 | 19 |
|
20 | 20 | **Software and Dependencies:**
|
21 | 21 |
|
|
25 | 25 | * `Adafruit's Bus Device library <https:# github.com/adafruit/Adafruit_CircuitPython_BusDevice>`_
|
26 | 26 | """
|
27 | 27 | __version__ = "0.0.0-auto.0"
|
28 |
| -__repo__ = "https:# github.com/adafruit/Adafruit_CircuitPython_BNO080.git" |
| 28 | +__repo__ = "https:# github.com/adafruit/Adafruit_CircuitPython_BNO08x.git" |
29 | 29 |
|
30 | 30 | from struct import unpack_from, pack_into
|
31 | 31 | from collections import namedtuple
|
|
83 | 83 | _DEFAULT_REPORT_INTERVAL = const(50000) # in microseconds = 50ms
|
84 | 84 | _QUAT_READ_TIMEOUT = 0.500 # timeout in seconds
|
85 | 85 | _PACKET_READ_TIMEOUT = 15.000 # timeout in seconds
|
86 |
| -_BNO080_CMD_RESET = const(0x01) |
| 86 | +_BNO08X_CMD_RESET = const(0x01) |
87 | 87 | _QUAT_Q_POINT = const(14)
|
88 | 88 | _BNO_HEADER_LEN = const(4)
|
89 | 89 |
|
@@ -331,10 +331,10 @@ def is_error(cls, header):
|
331 | 331 | return False
|
332 | 332 |
|
333 | 333 |
|
334 |
| -class BNO080: |
335 |
| - """Library for the BNO080 IMU from Hillcrest Laboratories |
| 334 | +class BNO08X: |
| 335 | + """Library for the BNO08x IMUs from Hillcrest Laboratories |
336 | 336 |
|
337 |
| - :param ~busio.I2C i2c_bus: The I2C bus the BNO080 is connected to. |
| 337 | + :param ~busio.I2C i2c_bus: The I2C bus the BNO08x is connected to. |
338 | 338 |
|
339 | 339 | """
|
340 | 340 |
|
@@ -581,7 +581,7 @@ def _get_feature_enable_report(
|
581 | 581 |
|
582 | 582 | # TODO: add docs for available features
|
583 | 583 | def enable_feature(self, feature_id):
|
584 |
| - """Used to enable a given feature of the BNO080""" |
| 584 | + """Used to enable a given feature of the BNO08x""" |
585 | 585 | self._dbg("\n********** Enabling feature id:", feature_id, "**********")
|
586 | 586 |
|
587 | 587 | set_feature_report = self._get_feature_enable_report(feature_id)
|
|
0 commit comments