diff --git a/README.md b/README.md index 01eb383..8926684 100755 --- a/README.md +++ b/README.md @@ -54,9 +54,9 @@ Otherwise, use mumps, but you won't replicate the results. # Exemples In the folder `examples\`, you will find the following examples (NTC, KTC, HTC): -- `sommersault_htc.py`: This script generates the optimal control problem with the holonomic constraint. -- `sommersault_htc_taudot.py`: This script generates the optimal control problem with the holonomic constraint and torque derivative driven -- `sommersault_ktc_taudot.py`: This script generates the optimal control problem with the kinematic constraint and torque derivative driven -- `sommersault.py`: This script generates the optimal control problem without the holonomic constraint. -- `sommersault_taudot.py`: This script generates the optimal control problem without the holonomic constraint and torque derivative driven +- `somersault_htc.py`: This script generates the optimal control problem with the holonomic constraint. +- `somersault_htc_taudot.py`: This script generates the optimal control problem with the holonomic constraint and torque derivative driven +- `somersault_ktc_taudot.py`: This script generates the optimal control problem with the kinematic constraint and torque derivative driven +- `somersault.py`: This script generates the optimal control problem without the holonomic constraint. +- `somersault_taudot.py`: This script generates the optimal control problem without the holonomic constraint and torque derivative driven diff --git a/analysis_simulations/analyze_data_simu.py b/analysis_simulations/analyze_data_simu.py index 7b9ce20..b71cf20 100644 --- a/analysis_simulations/analyze_data_simu.py +++ b/analysis_simulations/analyze_data_simu.py @@ -7,7 +7,7 @@ from matplotlib import rcParams -from examples.sommersault_taudot import prepare_ocp as prepare_ocp_without +from examples.somersault_taudot import prepare_ocp as prepare_ocp_without from src.actuators import Joint, actuator_function from src.actuator_constants import ACTUATORS from src.constants import ( diff --git a/analysis_simulations/print_detailed_cost.py b/analysis_simulations/print_detailed_cost.py index 4cf18eb..0649032 100644 --- a/analysis_simulations/print_detailed_cost.py +++ b/analysis_simulations/print_detailed_cost.py @@ -4,9 +4,9 @@ import numpy as np import pickle -from examples.sommersault_taudot import prepare_ocp as prepare_ocp_free -from examples.sommersault_htc_taudot import prepare_ocp as prepare_ocp_HTC -from examples.sommersault_ktc_taudot import prepare_ocp as prepare_ocp_KTC +from examples.somersault_taudot import prepare_ocp as prepare_ocp_free +from examples.somersault_htc_taudot import prepare_ocp as prepare_ocp_HTC +from examples.somersault_ktc_taudot import prepare_ocp as prepare_ocp_KTC from src.constants import PATH_MODEL, PATH_MODEL_1_CONTACT biorbd_model_path = (PATH_MODEL_1_CONTACT, PATH_MODEL, PATH_MODEL, PATH_MODEL, PATH_MODEL_1_CONTACT) diff --git a/examples/main.py b/examples/main.py index a8f33c5..132584f 100644 --- a/examples/main.py +++ b/examples/main.py @@ -7,9 +7,9 @@ PATH_MODEL, ) -from sommersault_taudot import prepare_ocp as prepare_ocp_ntc -from sommersault_htc_taudot import prepare_ocp as prepare_ocp_with_htc -from sommersault_ktc_taudot import prepare_ocp as prepare_ocp_with_ktc +from somersault_taudot import prepare_ocp as prepare_ocp_ntc +from somersault_htc_taudot import prepare_ocp as prepare_ocp_with_htc +from somersault_ktc_taudot import prepare_ocp as prepare_ocp_with_ktc from src.save_results import save_results_taudot from src.save_results import save_results_holonomic_taudot diff --git a/examples/sommersault.py b/examples/somersault.py similarity index 100% rename from examples/sommersault.py rename to examples/somersault.py diff --git a/examples/sommersault_htc.py b/examples/somersault_htc.py similarity index 99% rename from examples/sommersault_htc.py rename to examples/somersault_htc.py index fa5aff8..f08c914 100755 --- a/examples/sommersault_htc.py +++ b/examples/somersault_htc.py @@ -70,7 +70,7 @@ from src.phase_transitions import custom_phase_transition_pre, custom_phase_transition_post from src.save_load_helpers import get_created_data_from_pickle from src.save_results import save_results_holonomic -from sommersault import ( +from somersault import ( add_x_bounds, add_u_bounds, ) diff --git a/examples/sommersault_htc_taudot.py b/examples/somersault_htc_taudot.py similarity index 100% rename from examples/sommersault_htc_taudot.py rename to examples/somersault_htc_taudot.py diff --git a/examples/sommersault_ktc_taudot.py b/examples/somersault_ktc_taudot.py similarity index 100% rename from examples/sommersault_ktc_taudot.py rename to examples/somersault_ktc_taudot.py diff --git a/examples/sommersault_taudot.py b/examples/somersault_taudot.py similarity index 100% rename from examples/sommersault_taudot.py rename to examples/somersault_taudot.py