File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -748,7 +748,7 @@ class ContactParameters(JaxsimDataclass):
748
748
A tuple of integers representing, for each collidable point, the index of
749
749
the body (link) to which it is rigidly attached to.
750
750
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
752
752
in the coordinates of the parent link frame.
753
753
754
754
Note:
@@ -791,11 +791,11 @@ def build_from(model_description: ModelDescription) -> ContactParameters:
791
791
links_dict [cp .parent_link .name ].index for cp in collidable_points
792
792
)
793
793
794
- # Build the GroundContact object.
794
+ # Build the ContactParameters object.
795
795
cp = ContactParameters (point = points , body = link_index_of_points ) # noqa
796
796
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 ]
799
799
800
800
return cp
801
801
You can’t perform that action at this time.
0 commit comments