Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added unit test case for string URDF missing tesseract:make_convex at…
Browse files Browse the repository at this point in the history
…tribute
marip8 committed Jan 17, 2025
1 parent 66e364e commit 56c2ad7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tesseract_urdf/test/tesseract_urdf_urdf_unit.cpp
Original file line number Diff line number Diff line change
@@ -231,6 +231,12 @@ TEST(TesseractURDFUnit, parse_urdf) // NOLINT
EXPECT_ANY_THROW(tesseract_urdf::parseURDFString(str, resource_locator)); // NOLINT
}

// Missing tesseract:make_convex attribute
{
std::string str = R"(<robot name="test"></robot>)";
EXPECT_ANY_THROW(tesseract_urdf::parseURDFString(str, resource_locator)); // NOLINT
}

{
const std::string path =
resource_locator.locateResource("package://tesseract_support/urdf/lbr_iiwa_14_r820.urdf")->getFilePath();

0 comments on commit 56c2ad7

Please sign in to comment.