Skip to content

Commit 49832f5

Browse files
committed
Minor changes
1 parent 0bd1300 commit 49832f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/jaxsim/api/kin_dyn_parameters.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ class ContactParameters(JaxsimDataclass):
748748
A tuple of integers representing, for each collidable point, the index of
749749
the body (link) to which it is rigidly attached to.
750750
point:
751-
The translation between the link frame and the collidable point, expressed
751+
The translations between the link frame and the collidable point, expressed
752752
in the coordinates of the parent link frame.
753753
754754
Note:
@@ -791,11 +791,11 @@ def build_from(model_description: ModelDescription) -> ContactParameters:
791791
links_dict[cp.parent_link.name].index for cp in collidable_points
792792
)
793793

794-
# Build the GroundContact object.
794+
# Build the ContactParameters object.
795795
cp = ContactParameters(point=points, body=link_index_of_points) # noqa
796796

797-
assert cp.point.shape[1] == 3
798-
assert cp.point.shape[0] == len(cp.body)
797+
assert cp.point.shape[1] == 3, cp.point.shape[1]
798+
assert cp.point.shape[0] == len(cp.body), cp.point.shape[0]
799799

800800
return cp
801801

0 commit comments

Comments
 (0)