From 5daf5de1c158363e835d322435bab4aa2f9b9b0b Mon Sep 17 00:00:00 2001 From: Justin Carpentier Date: Tue, 27 Jul 2021 11:31:22 +0200 Subject: [PATCH] test: remove useless quantity --- unittest/centroidal-derivatives.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/unittest/centroidal-derivatives.cpp b/unittest/centroidal-derivatives.cpp index d06bf4e940..4ad9d4a8bc 100644 --- a/unittest/centroidal-derivatives.cpp +++ b/unittest/centroidal-derivatives.cpp @@ -109,8 +109,7 @@ BOOST_AUTO_TEST_CASE(test_centroidal_derivatives) const pinocchio::Force dhg = pinocchio::computeCentroidalMomentumTimeVariation(model,data_fd,q,v,a); const pinocchio::Force hg = data_fd.hg; BOOST_CHECK(data.hg.isApprox(data_ref.hg)); - const pinocchio::Force::Vector3 com = data_fd.com[0]; - + // Check dhdot_dq and dh_dq with finite differences Eigen::VectorXd q_plus(model.nq,1); Eigen::VectorXd v_eps(model.nv,1); v_eps.setZero();