Skip to content

Commit

Permalink
fix documentation
Browse files Browse the repository at this point in the history
CarlottaSartore committed Jun 10, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 4e10ef4 commit 7ea5b26
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/adam/numpy/computations.py
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ def __init__(
) -> None:
"""
Args:
urdfstring (str): path of the urdf
urdfstring (str): either path or string of the urdf
joints_name_list (list): list of the actuated joints
root_link (str, optional): the first link. Defaults to 'root_link'.
"""
2 changes: 1 addition & 1 deletion src/adam/parametric/casadi/computations_parametric.py
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ def __init__(
) -> None:
"""
Args:
urdfstring (str): path of the urdf
urdfstring (str): either path or string of the urdf
joints_name_list (list): list of the actuated joints
links_name_list (list): list of the parametrized links
root_link (str, optional): the first link. Defaults to 'root_link'.
2 changes: 1 addition & 1 deletion src/adam/parametric/jax/computations_parametric.py
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ def __init__(
) -> None:
"""
Args:
urdfstring (str): path of the urdf
urdfstring (str): either path or string of the urdf
joints_name_list (list): list of the actuated joints
links_name_list (list): list of parametric links
root_link (str, optional): the first link. Defaults to 'root_link'.
2 changes: 1 addition & 1 deletion src/adam/parametric/numpy/computations_parametric.py
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ def __init__(
) -> None:
"""
Args:
urdfstring (str): path of the urdf
urdfstring (str): either path or string of the urdf
joints_name_list (list): list of the actuated joints
links_name_list (list): list of parametric links
root_link (str, optional): the first link. Defaults to 'root_link'.
2 changes: 1 addition & 1 deletion src/adam/parametric/pytorch/computations_parametric.py
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ def __init__(
) -> None:
"""
Args:
urdfstring (str): path of the urdf
urdfstring (str): either path or string of the urdf
joints_name_list (list): list of the actuated joints
links_name_list (list): list of parametric links
root_link (str, optional): the first link. Defaults to 'root_link'.
4 changes: 2 additions & 2 deletions src/adam/pytorch/computations.py
Original file line number Diff line number Diff line change
@@ -27,12 +27,12 @@ def __init__(
) -> None:
"""
Args:
urdfstring (str): path of the urdf
urdfstring (str): either path or string of the urdf
joints_name_list (list): list of the actuated joints
root_link (str, optional): the first link. Defaults to 'root_link'.
"""
math = SpatialMath()
factory = URDFModelFactory(urdf_string=urdfstring, math=math)
factory = URDFModelFactory(path=urdfstring, math=math)
model = Model.build(factory=factory, joints_name_list=joints_name_list)
self.rbdalgos = RBDAlgorithms(model=model, math=math)
self.NDoF = self.rbdalgos.NDoF

0 comments on commit 7ea5b26

Please sign in to comment.