Skip to content

Commit

Permalink
2
Browse files Browse the repository at this point in the history
  • Loading branch information
MikhailChaikovskii committed Aug 5, 2024
1 parent 424caee commit 19afea3
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
5 changes: 2 additions & 3 deletions rostok/simulation_chrono/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def visualization_step(self, step_length):
class EnvCreator():
"""Setup environment for robot simulation.
Add external all objects to the simulation."""
Add all external objects to the simulation."""

def __init__(self, object_list: List[Tuple[ChronoEasyShapeObject, bool]] = []):
self.objects: List[ChronoEasyShapeObject] = []
Expand Down Expand Up @@ -118,7 +118,6 @@ def add_object(self,

self.objects.append(obj)
if force_torque_controller:

force_torque_controller.bind_body(obj.body)
self.force_torque_container.add(force_torque_controller)
if read_data:
Expand Down Expand Up @@ -276,7 +275,7 @@ def simulate(
visualize=False,
):
"""Execute a simulation.
Args:
number_of_steps(int): total number of steps in the simulation
step_length (float): the time length of a step
Expand Down
Loading

0 comments on commit 19afea3

Please sign in to comment.