Skip to content

Commit

Permalink
Update style
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Jun 9, 2023
1 parent 4b87492 commit 09c2227
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/jaxsim/simulation/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class JaxSim(JaxsimDataclass):

# Number of sub-steps performed at each integration step.
# Note: there is no collision detection performed in sub-steps.
# TODO: substeps_number
steps_per_run: jtp.Int = jax_dataclasses.static_field(
default=1
)
Expand Down Expand Up @@ -386,10 +387,7 @@ def step(self, clear_inputs: bool = False) -> Dict[str, StepData]:
def step_over_horizon(
self,
horizon_steps: jtp.Int,
callback_handler: Union[
"scb.SimulatorCallback",
"scb.CallbackHandler",
] = None,
callback_handler: Union["scb.SimulatorCallback", "scb.CallbackHandler"] = None,
clear_inputs: jtp.Bool = False,
) -> Union["JaxSim", Tuple["JaxSim", Tuple["scb.SimulatorCallback", jtp.PyTree]]]:
"""
Expand Down

0 comments on commit 09c2227

Please sign in to comment.