From 652ea55f55487a2b18d3b0bf3203ed2488bea0de Mon Sep 17 00:00:00 2001 From: Joseph Mirabel Date: Wed, 22 Apr 2020 18:54:26 +0200 Subject: [PATCH] Unit test SymbolicFunction with extra dofs. --- tests/test-jacobians.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test-jacobians.cc b/tests/test-jacobians.cc index 8aac589a..99d394fa 100644 --- a/tests/test-jacobians.cc +++ b/tests/test-jacobians.cc @@ -276,6 +276,11 @@ BOOST_AUTO_TEST_CASE (SymbolicCalculus_position) { BOOST_AUTO_TEST_CASE (SymbolicCalculus_jointframe) { DevicePtr_t device = createRobot (); + device->setDimensionExtraConfigSpace(3); + for (int i = 0; i < 3; ++i) { + device->extraConfigSpace().lower(i) = -1; + device->extraConfigSpace().upper(i) = 1; + } JointPtr_t ee1 = device->getJointByName ("lleg5_joint"), ee2 = device->getJointByName ("rleg5_joint"); BOOST_REQUIRE (device);