Update hexapod.py
This commit is contained in:
parent
bc1deab1e9
commit
5d38bdccda
@ -284,7 +284,8 @@ class Hexapod(Thread):
|
|||||||
|
|
||||||
def cmd_handler(self, cmd_string):
|
def cmd_handler(self, cmd_string):
|
||||||
data = cmd_string.split(':')[-2]
|
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()
|
self.cmd_queue.task_done()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user