From 26236c44433f9cfc458c4e92221547d67472958d Mon Sep 17 00:00:00 2001 From: Manan Tayal Date: Sun, 19 Jun 2022 16:27:50 +0530 Subject: [PATCH] Added to inverted commas in main --- main.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/main.py b/main.py index 42abb7a..12f1e46 100644 --- a/main.py +++ b/main.py @@ -3,7 +3,6 @@ from walking import PreviewControl import argparse - def stand(): biped = Biped() CoM_height = 0.45 @@ -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()