Skip to content

Commit 6838cec

Browse files
committed
Fix missing changes in last commit
1 parent 5fec620 commit 6838cec

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

examples/benchmark_planar_pcs.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def simulate_planar_pcs_value_eval(
271271
# =============================================================================================
272272
# Figures and video generation
273273
# =============================================================================================
274-
extension = f"planar_pcs_ns-{num_segments}-{('symb' if type_of_derivation == 'symbolic' else 'num')}"
274+
extension = f"planar_pcs_ns-{num_segments}-{('sym' if type_of_derivation == 'symbolic' else 'num')}"
275275
if type_of_derivation == "numeric":
276276
extension += f"-{type_of_integration}-{param_integration}"
277277

@@ -1588,4 +1588,7 @@ def time_kinetic_energy_over_time():
15881588
print("Simulation finished. \n")
15891589
print("**************************************************************** \n \n")
15901590

1591-
return simulation_dict
1591+
return simulation_dict
1592+
1593+
if __name__ == "__main__":
1594+
simulate_planar_pcs_value_eval(num_segments=1)

src/jsrm/systems/pneumatically_actuated_planar_pcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import numpy as onp
66
from typing import Callable, Dict, Optional, Tuple, Union
77

8-
from .planar_pcs import factory as planar_pcs_factory
8+
from .planar_pcs_sym import factory as planar_pcs_factory
99

1010
def factory(
1111
num_segments: int,

src/jsrm/systems/tendon_actuated_planar_pcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import numpy as onp
66
from typing import Callable, Dict, Optional, Tuple, Union
77

8-
from .planar_pcs import factory as planar_pcs_factory
8+
from .planar_pcs_sym import factory as planar_pcs_factory
99

1010
def factory(
1111
num_segments: int,

0 commit comments

Comments
 (0)