Skip to content

Commit

Permalink
Fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Mar 9, 2024
1 parent 1d33dcf commit 69bd586
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/jaxsim/physics/model/physics_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ def __post_init__(self):
[self._link_inertias_dict[l.index] for l in ordered_links]
)

s_min = jnp.array([j.position_limit[0] for j in ordered_joints])
s_max = jnp.array([j.position_limit[1] for j in ordered_joints])
self._joint_position_limits_min = jnp.vstack([s_min, s_max]).min(axis=0)
self._joint_position_limits_max = jnp.vstack([s_min, s_max]).max(axis=0)
s_min = jnp.array([j.position_limit[0] for j in ordered_joints])
s_max = jnp.array([j.position_limit[1] for j in ordered_joints])
self._joint_position_limits_min = jnp.vstack([s_min, s_max]).min(axis=0)
self._joint_position_limits_max = jnp.vstack([s_min, s_max]).max(axis=0)

@staticmethod
def build_from(
Expand Down

0 comments on commit 69bd586

Please sign in to comment.