Fix MJX plane_cylinder docstring.
PiperOrigin-RevId: 833394724 Change-Id: I80df8bf35bceb97a18a0c4c2f37fab71e31011c2
This commit is contained in:
committed by
Copybara-Service
parent
e882399eb0
commit
bc169d82c1
@@ -99,7 +99,7 @@ def plane_ellipsoid(plane: GeomInfo, ellipsoid: GeomInfo) -> Collision:
|
|||||||
|
|
||||||
@collider(ncon=3)
|
@collider(ncon=3)
|
||||||
def plane_cylinder(plane: GeomInfo, cylinder: GeomInfo) -> Collision:
|
def plane_cylinder(plane: GeomInfo, cylinder: GeomInfo) -> Collision:
|
||||||
"""Calculates one contact between an cylinder and a plane."""
|
"""Calculates three contacts between a cylinder and a plane."""
|
||||||
n = plane.mat[:, 2]
|
n = plane.mat[:, 2]
|
||||||
axis = cylinder.mat[:, 2]
|
axis = cylinder.mat[:, 2]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user