Skip to content

Commit 9054eac

Browse files
committed
Fix gyro rate comments
1 parent 9c15dc1 commit 9054eac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

XRPLib/imu.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def get_acc_rates(self):
242242

243243
def get_gyro_x_rate(self):
244244
"""
245-
Individual axis read for the Gyroscope's X-axis, in mg
245+
Individual axis read for the Gyroscope's X-axis, in mdps
246246
"""
247247
# Burst read data registers
248248
raw_bytes = self._getregs(LSM_REG_OUTX_L_G, 2)
@@ -252,7 +252,7 @@ def get_gyro_x_rate(self):
252252

253253
def get_gyro_y_rate(self):
254254
"""
255-
Individual axis read for the Gyroscope's Y-axis, in mg
255+
Individual axis read for the Gyroscope's Y-axis, in mdps
256256
"""
257257
# Burst read data registers
258258
raw_bytes = self._getregs(LSM_REG_OUTY_L_G, 2)
@@ -262,7 +262,7 @@ def get_gyro_y_rate(self):
262262

263263
def get_gyro_z_rate(self):
264264
"""
265-
Individual axis read for the Gyroscope's Z-axis, in mg
265+
Individual axis read for the Gyroscope's Z-axis, in mdps
266266
"""
267267
# Burst read data registers
268268
raw_bytes = self._getregs(LSM_REG_OUTZ_L_G, 2)

0 commit comments

Comments
 (0)