Skip to content

Commit

Permalink
chore: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
lvjonok committed Feb 12, 2024
1 parent 7c6be93 commit 99ad656
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
10 changes: 10 additions & 0 deletions darli/modeling/parametric/functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,3 +305,13 @@ def centroidal_dynamics(
dv: ArrayLike | None = None,
):
raise NotImplementedError

def update(
self,
q: ArrayLike,
v: ArrayLike,
dv: ArrayLike | None = None,
u: ArrayLike | None = None,
) -> ArrayLike:
# dummy implementation to satisfy base class
return
4 changes: 2 additions & 2 deletions darli/modeling/parametric/parametric.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,11 +295,11 @@ def forward_dynamics(
self,
q: ArrayLike | None = None,
v: ArrayLike | None = None,
tau: ArrayLike | None = None,
u: ArrayLike | None = None,
) -> ArrayLike:
return self._backend.math.solve(
self.inertia(q),
-self.bias_force(q, v) + (tau if tau is not None else self.qfrc_u),
-self.bias_force(q, v) + (self._qfrc_u if u is None else self.selector @ u),
).array

@property
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[project]
name = "darli"
description = "The DARLi is a Python 3 library that supports both numerical and symbolical computations of open loop articulated robots provided urdf file."
version = "0.2.9"
version = "0.3.0"
authors = [{ name = "Lev Kozlov" }, { name = "Simeon Nedelchev" }]
dependencies = ["cmeel_casadi_kin_dyn==1.6.10"]
dependencies = ["cmeel_casadi_kin_dyn>=1.6.11"]
readme = "README.md"
requires-python = ">=3.9"

Expand Down

0 comments on commit 99ad656

Please sign in to comment.