loco-3d / crocoddyl

Crocoddyl is an optimal control library for robot control under contact sequence. Its solver is based on various efficient Differential Dynamic Programming (DDP)-like algorithms
BSD 3-Clause "New" or "Revised" License
824 stars 170 forks source link

c++ implementation and Python bindings of the free foward dynamics (differential action model) - [merged] #528

Closed wxmerkt closed 4 years ago

wxmerkt commented 4 years ago

In GitLab by @cmastalli on Aug 1, 2019, 15:37

_Merges topic/cpp-free-fwddyn -> cppdevel

This PR mainly adds the free forward dynamics used for the talos_arm example. Addtionally, it adds a method to share the data with the cost sum. Finally, it adds unit-test for this differential action model.

wxmerkt commented 4 years ago

In GitLab by @cmastalli on Aug 1, 2019, 15:38

Thi is WIP, I am still debugging an issue. The DDP solution is not the same, and sometimes it crashes the Python program. I think there is problem with memory management.

wxmerkt commented 4 years ago

In GitLab by @cmastalli on Aug 1, 2019, 21:14

added 4 commits

Compare with previous version

wxmerkt commented 4 years ago

In GitLab by @cmastalli on Aug 6, 2019, 12:03

added 44 commits

Compare with previous version

wxmerkt commented 4 years ago

In GitLab by @cmastalli on Aug 6, 2019, 16:01

added 1 commit

Compare with previous version

wxmerkt commented 4 years ago

In GitLab by @cmastalli on Aug 6, 2019, 16:07

I have solved various bug to make it work properly. I also included a benchmark for the talos arm (~300 Hz for 100 nodes).

In the benchmark there is hard-code the method for loading the talos arm. This needs to be tackle in example-robot-data. For more details see: https://gepgitlab.laas.fr/gepetto/example-robot-data/issues/12

wxmerkt commented 4 years ago

In GitLab by @cmastalli on Aug 6, 2019, 16:07

unmarked as a Work In Progress

wxmerkt commented 4 years ago

In GitLab by @cmastalli on Aug 6, 2019, 16:07

merged

wxmerkt commented 4 years ago

In GitLab by @cmastalli on Aug 6, 2019, 16:07

mentioned in commit 4ebae725f562b54068640f007064d3cd6bc5d67f