13 lines
266 B
Python
13 lines
266 B
Python
from datetime import datetime
|
|
import control_functions as cf
|
|
|
|
with open("pid-balancer_" + "time_file.txt", "w") as time_file:
|
|
time_file.write(datetime.strftime(datetime.now(), '%Y%m%d%H%M%S.%f')[:-3])
|
|
|
|
while True:
|
|
|
|
cf.calculate_acceleration()
|
|
|
|
|
|
|