Skip to content

Commit e363a4d

Browse files
committed
controller class tick -> update
1 parent 778fcd8 commit e363a4d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

XRPLib/controller.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ class Controller:
33
An abstract class to be entended to demonstrate different types of control. A PID subclass has also been provided
44
"""
55

6-
def tick(self, input) -> float:
6+
def update(self, input) -> float:
77
"""
8-
Handle a new tick of this control loop given an effected input.
8+
Handle a new update of this control loop given an effected input.
99
10-
:param error: The input to this controller for a given tick. Usually an error or some other correctable value
10+
:param error: The input to this controller for a given update. Usually an error or some other correctable value
1111
:type error: float
1212
1313
:return: The system output from the controller, to be used as an effort value or for any other purpose

0 commit comments

Comments
 (0)