Skip to content

Commit

Permalink
[cleanup] Do not used deprecated RK4 integrator in benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Mastalli committed Oct 8, 2021
1 parent f88080a commit 99183f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions benchmark/arm-manipulation-timings.cpp
Expand Up @@ -14,7 +14,7 @@
#include "crocoddyl/multibody/states/multibody.hpp"
#include "crocoddyl/multibody/actions/free-fwddyn.hpp"
#include "crocoddyl/core/integrator/euler.hpp"
#include "crocoddyl/core/integrator/rk4.hpp"
#include "crocoddyl/core/integrator/rk.hpp"
#include "crocoddyl/core/costs/cost-sum.hpp"
#include "crocoddyl/core/costs/residual.hpp"
#include "crocoddyl/multibody/residuals/frame-placement.hpp"
Expand Down Expand Up @@ -102,7 +102,7 @@ int main(int argc, char* argv[]) {
boost::shared_ptr<crocoddyl::ActionModelAbstract> runningModelWithEuler =
boost::make_shared<crocoddyl::IntegratedActionModelEuler>(runningDAM, 1e-3);
boost::shared_ptr<crocoddyl::ActionModelAbstract> runningModelWithRK4 =
boost::make_shared<crocoddyl::IntegratedActionModelRK4>(runningDAM, 1e-3);
boost::make_shared<crocoddyl::IntegratedActionModelRK>(runningDAM, crocoddyl::RKType::four, 1e-3);
boost::shared_ptr<crocoddyl::ActionModelAbstract> terminalModel =
boost::make_shared<crocoddyl::IntegratedActionModelEuler>(terminalDAM, 1e-3);

Expand Down
4 changes: 2 additions & 2 deletions benchmark/bipedal-timings.cpp
Expand Up @@ -18,7 +18,7 @@
#include "crocoddyl/multibody/contacts/multiple-contacts.hpp"
#include "crocoddyl/multibody/actions/contact-fwddyn.hpp"
#include "crocoddyl/core/integrator/euler.hpp"
#include "crocoddyl/core/integrator/rk4.hpp"
#include "crocoddyl/core/integrator/rk.hpp"
#include "crocoddyl/core/costs/cost-sum.hpp"
#include "crocoddyl/core/costs/residual.hpp"
#include "crocoddyl/multibody/residuals/frame-placement.hpp"
Expand Down Expand Up @@ -123,7 +123,7 @@ int main(int argc, char* argv[]) {
boost::shared_ptr<crocoddyl::ActionModelAbstract> runningModelWithEuler =
boost::make_shared<crocoddyl::IntegratedActionModelEuler>(runningDAM, 1e-3);
boost::shared_ptr<crocoddyl::ActionModelAbstract> runningModelWithRK4 =
boost::make_shared<crocoddyl::IntegratedActionModelRK4>(runningDAM, 1e-3);
boost::make_shared<crocoddyl::IntegratedActionModelRK>(runningDAM, crocoddyl::RKType::four, 1e-3);
boost::shared_ptr<crocoddyl::ActionModelAbstract> terminalModel =
boost::make_shared<crocoddyl::IntegratedActionModelEuler>(terminalDAM, 1e-3);

Expand Down

0 comments on commit 99183f7

Please sign in to comment.