From 31857bf0b57ff29cebc8237ae9cf41de6b1f2df9 Mon Sep 17 00:00:00 2001 From: Zhengyu Peng Date: Wed, 23 Feb 2022 12:53:33 -0500 Subject: [PATCH] Update hexapod.py --- software/raspberry pi/hexapod.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/software/raspberry pi/hexapod.py b/software/raspberry pi/hexapod.py index 15f07c5..ca6b936 100644 --- a/software/raspberry pi/hexapod.py +++ b/software/raspberry pi/hexapod.py @@ -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()