Skip to content

Commit

Permalink
konmaried
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiki Komoda committed Nov 3, 2023
1 parent 75a70ab commit 7a9238f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qmi8658c.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class GyroRange: # pylint: disable=too-few-public-methods

class AccRate: # pylint: disable=too-few-public-methods
"""Allowed values for :py:attr:`accelerometer_rate`.
Accelerometer low power mode must be a gyro disabled.
Accelerometer low power(LP) mode must be a gyro disabled.
* :py:attr:`AccRate.RATE_8000_HZ`
* :py:attr:`AccRate.RATE_4000_HZ`
Expand Down Expand Up @@ -279,7 +279,7 @@ def acceleration(self) -> Tuple[float, float, float]:

@property
def gyro(self) -> Tuple[float, float, float]:
"""Gyroscope X, Y, and Z axis data in :math:`º/s`"""
"""Gyroscope X, Y, and Z axis data in :math:`rad/s`"""
raw_data = self._raw_gyro_data
raw_x = raw_data[0][0]
raw_y = raw_data[1][0]
Expand All @@ -293,7 +293,7 @@ def gyro(self) -> Tuple[float, float, float]:
return (gyro_x, gyro_y, gyro_z)

@property
def raw_acc_gyro(self) -> Tuple[float, float, float]:
def raw_acc_gyro(self) -> Tuple[float, float, float, float, float, float]:
"""Raw data extraction"""
raw_data = self._raw_accel_gyro_data

Expand Down

0 comments on commit 7a9238f

Please sign in to comment.