Skip to content

Commit

Permalink
Added to inverted commas in main
Browse files Browse the repository at this point in the history
  • Loading branch information
tayalmanan28 authored Jun 19, 2022
1 parent 5d38d82 commit 26236c4
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from walking import PreviewControl
import argparse


def stand():
biped = Biped()
CoM_height = 0.45
Expand Down Expand Up @@ -156,15 +155,15 @@ def walk():

#---------------------------------------------------------------------------------------------------------------------------------

if (args.action == walk):
if (args.action == 'walk'):
walk()
elif (args.action == jump_w_Twist):
elif (args.action == 'jump_w_Twist'):
jump(withTorsoTwist=True)
elif (args.action == jump_wo_Twist):
elif (args.action == 'jump_wo_Twist'):
jump(withTorsoTwist=False)
elif (args.action == squat):
elif (args.action == 'squat'):
squat()
elif (args.action == torsoTwist):
elif (args.action == 'torsoTwist'):
torsoTwist()
else:
stand()

0 comments on commit 26236c4

Please sign in to comment.