Skip to content
This repository was archived by the owner on Dec 1, 2020. It is now read-only.

Commit d07fa08

Browse files
committed
Add the rotational test joint yaml to the allowed robot test.
1 parent 95237fa commit d07fa08

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

march_hardware_builder/test/allowed_robot_test.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,10 @@ TEST(AllowedRobotTest, TestTestLinearSetupCreation)
3636
urdf.initFile(ros::package::getPath("march_description").append("/urdf/test_joint_linear.urdf"));
3737
ASSERT_NO_THROW(HardwareBuilder(AllowedRobot::test_joint_linear, urdf).createMarchRobot());
3838
}
39+
40+
TEST(AllowedRobotTest, TestTestRotationalSetupCreation)
41+
{
42+
urdf::Model urdf;
43+
urdf.initFile(ros::package::getPath("march_description").append("/urdf/test_joint_rotational.urdf"));
44+
ASSERT_NO_THROW(HardwareBuilder(AllowedRobot::test_joint_linear, urdf).createMarchRobot());
45+
}

0 commit comments

Comments
 (0)