Skip to content

Commit

Permalink
Unit test SymbolicFunction with extra dofs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmirabel committed Apr 22, 2020
1 parent 7cda28e commit 652ea55
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test-jacobians.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 652ea55

Please sign in to comment.