Skip to content

Commit

Permalink
Merge pull request #337 from Ipuch/master
Browse files Browse the repository at this point in the history
minor doc of Inverse Kinematics (#337)
  • Loading branch information
pariterre authored Nov 2, 2023
2 parents c9ae957 + 96f0f2f commit 1df368c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion binding/python3/rigid_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,17 @@ class InverseKinematics:
def __init__(
self,
model,
marker_data: np.array,
marker_data: np.ndarray,
):
"""
Parameters
----------
model: biorbd.Model
The biorbd model loaded with biorbd Eigen backend
marker_data: np.ndarray
The position of the markers from the c3d of shape (nb_dim, nb_marker, nb_frame),
nb_marker should be equal to the number of markers in the model, unit should be in meters.
"""
self.biorbd_model = model
self.marker_names = [
self.biorbd_model.markerNames()[i].to_string() for i in range(len(self.biorbd_model.markerNames()))
Expand Down

0 comments on commit 1df368c

Please sign in to comment.