Skip to content

Commit

Permalink
Fix typo in comment
Browse files Browse the repository at this point in the history
Co-authored-by: Alessandro Croci <[email protected]>
  • Loading branch information
flferretti and xela-95 authored Dec 10, 2024
1 parent 3c96cc0 commit 8ab51f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jaxsim/parsers/rod/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def fibonacci_sphere(samples: int) -> npt.NDArray:

# Filter to keep only the bottom half if required.
if os.environ.get("JAXSIM_COLLISION_USE_BOTTOM_ONLY", "0"):
# Keep only the points with y <= 0.
# Keep only the points with z <= 0.
points = [point for point in points if point[2] <= 0]

return np.vstack(points)
Expand Down

0 comments on commit 8ab51f3

Please sign in to comment.