From 64fe38b84322f8896f324c22bd882a08206862ad Mon Sep 17 00:00:00 2001 From: Rooholla-Khorrambakht Date: Tue, 21 May 2024 19:57:48 -0400 Subject: [PATCH] indentation issue resolved --- Go2Py/control/walk_these_ways.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Go2Py/control/walk_these_ways.py b/Go2Py/control/walk_these_ways.py index b09dcef..8c87963 100755 --- a/Go2Py/control/walk_these_ways.py +++ b/Go2Py/control/walk_these_ways.py @@ -131,9 +131,7 @@ class CommandInterface: self.stance_width_cmd = 0.25 def setGaitType(self, gait_type): - assert gait_type in [key for key in self.gaits.keys()], f'The gain type should be in { - [key for key in self.gaits.keys()]}' - self.gait = torch.tensor(self.gaits[gait_type]) + assert gait_type in [key for key in self.gaits.keys()], f'The gain type should be in {self.gait = torch.tensor(self.gaits[gait_type]) def get_command(self): command = np.zeros((19,))