Skip to content
Snippets Groups Projects
Commit 02b0967f authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

update to pinocchio v1.3.0

parent 5bbef59f
No related branches found
No related tags found
1 merge request!3Update the repository to the version used for the first submission of the article
......@@ -6,7 +6,7 @@
#include <pinocchio/algorithm/rnea.hpp>
#include <pinocchio/algorithm/aba.hpp>
#include <pinocchio/tools/timer.hpp>
#include <pinocchio/utils/timer.hpp>
#include <Eigen/StdVector>
EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION(Eigen::VectorXd)
......@@ -17,7 +17,7 @@ EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION(Eigen::VectorXd)
void benchmark_pinocchio_rnea(std::string model_file)
{
StackTicToc timer(StackTicToc::NS);
PinocchioTicToc timer(PinocchioTicToc::NS);
se3::Model model;
se3::urdf::buildModel(pinocchio_benchmarks::path + model_file,
......@@ -46,7 +46,7 @@ void benchmark_pinocchio_rnea(std::string model_file)
void benchmark_pinocchio_aba(std::string model_file)
{
StackTicToc timer(StackTicToc::NS);
PinocchioTicToc timer(PinocchioTicToc::NS);
se3::Model model;
se3::urdf::buildModel(pinocchio_benchmarks::path + model_file,
......
......@@ -4,7 +4,7 @@
#include <rbdl/rbdl.h>
#include <rbdl/addons/urdfreader/urdfreader.h>
#include <pinocchio/tools/timer.hpp>
#include <pinocchio/utils/timer.hpp>
#include <Eigen/StdVector>
EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION(RigidBodyDynamics::Math::VectorNd)
......@@ -15,7 +15,7 @@ EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION(RigidBodyDynamics::Math::VectorNd)
void benchmark_rbdl_rnea(std::string model_file)
{
StackTicToc timer(StackTicToc::NS);
PinocchioTicToc timer(PinocchioTicToc::NS);
RigidBodyDynamics::Model* model = new RigidBodyDynamics::Model();
RigidBodyDynamics::Addons::URDFReadFromFile((pinocchio_benchmarks::path +
......@@ -46,7 +46,7 @@ void benchmark_rbdl_rnea(std::string model_file)
void benchmark_rbdl_aba(std::string model_file)
{
StackTicToc timer(StackTicToc::NS);
PinocchioTicToc timer(PinocchioTicToc::NS);
RigidBodyDynamics::Model* model = new RigidBodyDynamics::Model();
RigidBodyDynamics::Addons::URDFReadFromFile((pinocchio_benchmarks::path +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment