From 34f64ce8c07206e2ed77ca5b38135150b9aeca03 Mon Sep 17 00:00:00 2001 From: Antoine Falisse Date: Mon, 3 Oct 2022 13:39:15 -0700 Subject: [PATCH] minor --- example_kinetics.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/example_kinetics.py b/example_kinetics.py index 62222b58..515e8f97 100644 --- a/example_kinetics.py +++ b/example_kinetics.py @@ -120,11 +120,11 @@ # - macOS (Monterey 12.2): converged in 1133 iterations # - Linux (Ubuntu 20.04): converged in 1072 iterations # Select which example you would like to run. -session_type = 'overground' # Options are 'overground' and 'treadmill'. +session_type = 'treadmill' # Options are 'overground' and 'treadmill'. session_id = "4d5c3eb1-1a59-4ea1-9178-d3634610561c" case = '0' # Change this to compare across settings. if session_type == 'overground': - trial_name = 'STS' # Options are 'squat' and 'STS'. + trial_name = 'squat' # Options are 'squat' and 'STS'. if trial_name == 'squat': # Squat motion_type = 'squats' repetition = 1 @@ -135,7 +135,7 @@ motion_type = 'jumping' time_window = [1.2, 2.4] elif session_type == 'treadmill': - trial_name = 'run_2_5ms' + trial_name = 'run_4ms' if trial_name == 'walk_1_25ms': # Walking, 1.25 m/s motion_type = 'walking' time_window = [1.0, 2.5] @@ -150,7 +150,7 @@ treadmill_speed = 4.0 # Set to True to solve the optimal control problem. -solveProblem = False +solveProblem = True # Set to True to analyze the results of the optimal control problem. If you # solved the problem already, and only want to analyze/process the results, you # can set solveProblem to False and run this script with analyzeResults set to @@ -178,4 +178,4 @@ # %% Plots. # To compare different cases, add to the cases list, eg cases=['0','1']. -plotResultsDC(dataFolder, session_id, trial_name, settings, cases=[case]) \ No newline at end of file +# plotResultsDC(dataFolder, session_id, trial_name, settings, cases=[case]) \ No newline at end of file