Skip to content

Commit dea0848

Browse files
Update source/isaaclab/isaaclab/actuators/actuator_base.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Signed-off-by: Brian McCann <144816553+bmccann-bdai@users.noreply.github.com>
1 parent e3625ea commit dea0848

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/isaaclab/isaaclab/actuators/actuator_base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,9 @@ def _parse_joint_parameter(
398398
if len(v) != expected_shape[2]:
399399
raise ValueError(
400400
f"Invalid tuple length for parameter {param_name} on joint {j[i]} at index"
401-
f" {indices[i]},"
402-
+ f" expected {expected_shape[2]} got {len(v)}."
401+
f"Invalid tuple length for parameter {param_name} on joint {j[i]} at index"
402+
f" {indices[i]}, "
403+
+ f"expected {expected_shape[2]} got {len(v)}."
403404
)
404405
# Otherwise iterate through the tuple, and assign the values in order.
405406
for i2, v2 in enumerate(v):

0 commit comments

Comments
 (0)