Skip to content

Commit

Permalink
Added tesseract:make_convex attribute to URDF strings in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
marip8 committed Jan 17, 2025
1 parent c9604d8 commit 66e364e
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions tesseract_urdf/test/tesseract_urdf_urdf_unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ TEST(TesseractURDFUnit, parse_urdf) // NOLINT
tesseract_common::GeneralResourceLocator resource_locator;
{
std::string str =
R"(<robot name="test" extra="0 0 0">
R"(<robot name="test" extra="0 0 0" tesseract:make_convex="true">
<joint name="j1" type="fixed">
<parent link="l1"/>
<child link="l2"/>
Expand All @@ -41,7 +41,7 @@ TEST(TesseractURDFUnit, parse_urdf) // NOLINT

{
std::string str =
R"(<robot name="test" extra="0 0 0">
R"(<robot name="test" extra="0 0 0" tesseract:make_convex="true">
<joint name="j1" type="fixed">
<parent link="l1"/>
<child link="l2"/>
Expand All @@ -66,7 +66,7 @@ TEST(TesseractURDFUnit, parse_urdf) // NOLINT

{
std::string str =
R"(<robot name="test">
R"(<robot name="test" tesseract:make_convex="true">
<joint name="j1" type="fixed">
<parent link="l1"/>
<child link="l2"/>
Expand All @@ -89,7 +89,7 @@ TEST(TesseractURDFUnit, parse_urdf) // NOLINT

{
std::string str =
R"(<robot name="test">
R"(<robot name="test" tesseract:make_convex="true">
<joint name="j1" type="fixed">
<parent link="l1"/>
<child link="l2"/>
Expand All @@ -112,7 +112,7 @@ TEST(TesseractURDFUnit, parse_urdf) // NOLINT

{
std::string str =
R"(<robot name="test">
R"(<robot name="test" tesseract:make_convex="true">
<joint name="j1" type="fixed">
<parent link="l1"/>
<child link="l2"/>
Expand All @@ -131,7 +131,7 @@ TEST(TesseractURDFUnit, parse_urdf) // NOLINT

{
std::string str =
R"(<robot name="test">
R"(<robot name="test" tesseract:make_convex="true">
<joint name="j1" type="fixed">
<parent link="l1"/>
<child link="l2"/>
Expand All @@ -151,7 +151,7 @@ TEST(TesseractURDFUnit, parse_urdf) // NOLINT

{
std::string str =
R"(<robot name="test">
R"(<robot name="test" tesseract:make_convex="true">
<joint name="j1" type="fixed">
<parent link="l1"/>
<child link="l3"/>
Expand All @@ -170,7 +170,7 @@ TEST(TesseractURDFUnit, parse_urdf) // NOLINT

{
std::string str =
R"(<robot name="test">
R"(<robot name="test" tesseract:make_convex="true">
<joint name="j1" type="fixed">
<parent link="l1"/>
<child link="l2"/>
Expand All @@ -190,8 +190,8 @@ TEST(TesseractURDFUnit, parse_urdf) // NOLINT

{
std::string str =
R"(<robot>
<joint name="j1" type="fixed">
R"(<robot tesseract:make_convex="true">
<joint name="j1" type="fixed" >
<parent link="l1"/>
<child link="l2"/>
<origin xyz="0 0 0" rpy="0 0 0"/>
Expand All @@ -209,7 +209,7 @@ TEST(TesseractURDFUnit, parse_urdf) // NOLINT

{
std::string str =
R"(<robot name="test">
R"(<robot name="test" tesseract:make_convex="true">
<joint name="j1" type="fixed">
<parent link="l2"/>
<child link="l3"/>
Expand Down Expand Up @@ -244,7 +244,7 @@ TEST(TesseractURDFUnit, parse_urdf_with_available_materials) // NOLINT
tesseract_common::GeneralResourceLocator resource_locator;
{
std::string str =
R"(<robot name="test" extra="0 0 0">
R"(<robot name="test" extra="0 0 0" tesseract:make_convex="true">
<material name="test_material" extra="0 0 0">
<color rgba="1 .5 .5 1" extra="0 0 0"/>
</material>
Expand Down Expand Up @@ -281,7 +281,7 @@ TEST(TesseractURDFUnit, parse_urdf_with_available_materials) // NOLINT

{
std::string str =
R"(<robot name="test" extra="0 0 0">
R"(<robot name="test" extra="0 0 0" tesseract:make_convex="true">
<joint name="j1" type="fixed">
<parent link="l1"/>
<child link="l2"/>
Expand Down Expand Up @@ -325,7 +325,7 @@ TEST(TesseractURDFUnit, parse_urdf_with_available_materials) // NOLINT

{
std::string str =
R"(<robot name="test" extra="0 0 0">
R"(<robot name="test" extra="0 0 0" tesseract:make_convex="true">
<joint name="j1" type="fixed">
<parent link="l1"/>
<child link="l2"/>
Expand Down Expand Up @@ -362,7 +362,7 @@ TEST(TesseractURDFUnit, parse_urdf_with_available_materials) // NOLINT

{
std::string str =
R"(<robot name="test" extra="0 0 0">
R"(<robot name="test" extra="0 0 0" tesseract:make_convex="true">
<joint name="j1" type="fixed">
<parent link="l1"/>
<child link="l2"/>
Expand Down

0 comments on commit 66e364e

Please sign in to comment.