Command "starttime" -> "start_animation"

This commit is contained in:
Artem30801
2019-05-21 21:58:46 +03:00
parent 94bc736b40
commit cfffaa8c55

View File

@@ -203,8 +203,7 @@ class Server:
def send_starttime(self, copter, dt=0):
timenow = self.time_now()
print('Now:', time.ctime(timenow), "+ dt =", dt)
copter.send_message("starttime", {"time": str(timenow + dt)}) # TODO change start_on
# TODO all commands as tasks with timestamp and priority
copter.send_message("start_animation", {"time": str(timenow + dt)})
def requires_connect(f):