Skip to content

Commit

Permalink
Update default value for joints_name_list
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulero committed Dec 11, 2023
1 parent 53f070a commit ae35f83
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/adam/casadi/computations.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class KinDynComputations:
def __init__(
self,
urdfstring: str,
joints_name_list: list,
joints_name_list: list = None,
root_link: str = "root_link",
gravity: np.array = np.array([0.0, 0.0, -9.80665, 0.0, 0.0, 0.0]),
f_opts: dict = dict(jit=False, jit_options=dict(flags="-Ofast")),
Expand Down
2 changes: 1 addition & 1 deletion src/adam/jax/computations.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class KinDynComputations:
def __init__(
self,
urdfstring: str,
joints_name_list: list,
joints_name_list: list = None,
root_link: str = "root_link",
gravity: np.array = jnp.array([0, 0, -9.80665, 0, 0, 0]),
) -> None:
Expand Down
2 changes: 1 addition & 1 deletion src/adam/numpy/computations.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class KinDynComputations:
def __init__(
self,
urdfstring: str,
joints_name_list: list,
joints_name_list: list = None,
root_link: str = "root_link",
gravity: np.array = np.array([0, 0, -9.80665, 0, 0, 0]),
) -> None:
Expand Down
2 changes: 1 addition & 1 deletion src/adam/pytorch/computations.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class KinDynComputations:
def __init__(
self,
urdfstring: str,
joints_name_list: list,
joints_name_list: list = None,
root_link: str = "root_link",
gravity: np.array = torch.FloatTensor([0, 0, -9.80665, 0, 0, 0]),
) -> None:
Expand Down

0 comments on commit ae35f83

Please sign in to comment.