Skip to content

Commit

Permalink
Update the docstrings to match the function signature
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 committed Jan 8, 2025
1 parent 30026d4 commit 753bb78
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/jaxsim/rbda/contacts/rigid.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,11 @@ def compute_impact_velocity(
inactive_collidable_points: The activation state of the collidable points.
M: The mass matrix of the system (in mixed representation).
J_WC: The Jacobian matrix of the collidable points (in mixed representation).
data: The `JaxSimModelData` instance.
generalized_velocity: The generalized velocity of the system.
Note:
The mass matrix `M`, the Jacobian `J_WC`, and the generalized velocity `generalized_velocity`
must be expressed in the same velocity representation.
"""

# Compute system velocity after impact maintaining zero linear velocity of active points.
Expand Down

0 comments on commit 753bb78

Please sign in to comment.