Skip to content

Commit f473f1e

Browse files
committed
Motor group ticks -> counts
1 parent e66ebb7 commit f473f1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

XRPLib/motor_group.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ def get_position(self) -> float:
4646
avg += motor.get_position()
4747
return avg / len(self.motors)
4848

49-
def get_position_ticks(self) -> int:
49+
def get_position_counts(self) -> int:
5050
"""
51-
:return: The average position of all motors in this group, in encoder ticks, relative to the last time reset was called.
51+
:return: The average position of all motors in this group, in encoder counts, relative to the last time reset was called.
5252
:rtype: int
5353
"""
5454
avg = 0

0 commit comments

Comments
 (0)