Update hexapod.py

This commit is contained in:
Zhengyu Peng 2022-02-23 12:53:33 -05:00
parent b5449db18c
commit 31857bf0b5

View File

@ -284,7 +284,8 @@ class Hexapod(Thread):
def cmd_handler(self, cmd_string):
data = cmd_string.split(':')[-2]
self.current_motion = self.cmd_dict.get(data, None)
print(data)
self.current_motion = self.cmd_dict.get(data, self.standby_posture)
self.cmd_queue.task_done()