indentation issue resolved

This commit is contained in:
Rooholla-Khorrambakht 2024-05-21 19:57:48 -04:00
parent fe84b739d4
commit 64fe38b843
1 changed files with 1 additions and 3 deletions

View File

@ -131,9 +131,7 @@ class CommandInterface:
self.stance_width_cmd = 0.25 self.stance_width_cmd = 0.25
def setGaitType(self, gait_type): def setGaitType(self, gait_type):
assert gait_type in [key for key in self.gaits.keys()], f'The gain type should be in { 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])
[key for key in self.gaits.keys()]}'
self.gait = torch.tensor(self.gaits[gait_type])
def get_command(self): def get_command(self):
command = np.zeros((19,)) command = np.zeros((19,))