Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
Functions | Variables
tesseract_urdf_octree_unit.cpp File Reference
#include <tesseract_common/macros.h>
#include <gtest/gtest.h>
#include <Eigen/Geometry>
#include <tesseract_common/utils.h>
#include <tesseract_urdf/octree.h>
#include <tesseract_urdf/octomap.h>
#include <tesseract_support/tesseract_support_resource_locator.h>
#include "tesseract_urdf_common_unit.h"
Include dependency graph for tesseract_urdf_octree_unit.cpp:

Functions

 EXPECT_TRUE (runTest< tesseract_geometry::Octree::Ptr >(geom, &tesseract_urdf::parseOctomap, str, "octomap", resource_locator, 2, true))
 
 EXPECT_TRUE (geom->getSubType()==geom->BOX)
 
 EXPECT_TRUE (geom->getOctree() !=nullptr)
 
 EXPECT_EQ (geom->calcNumSubShapes(), 8)
 

Variables

TESSERACT_COMMON_IGNORE_WARNINGS_PUSH TESSERACT_COMMON_IGNORE_WARNINGS_POP
 
tesseract_geometry::Octree::Ptr geom
 

Function Documentation

◆ EXPECT_EQ()

EXPECT_EQ ( geom->  calcNumSubShapes(),
 
)

◆ EXPECT_TRUE() [1/3]

EXPECT_TRUE ( geom->getOctree() !  = nullptr)

◆ EXPECT_TRUE() [2/3]

EXPECT_TRUE ( geom->  getSubType() = =geom->BOX)

◆ EXPECT_TRUE() [3/3]

EXPECT_TRUE ( runTest< tesseract_geometry::Octree::Ptr geom, &tesseract_urdf::parseOctomap, str, "octomap", resource_locator, 2, true)

Variable Documentation

◆ geom

Initial value:
{
std::string str = R"(<octomap shape_type="box" extra="0 0 0">
<octree filename="package://tesseract_support/meshes/box_2m.bt" extra="0 0 0"/>
</octomap>)"
std::string str
Definition: tesseract_srdf_unit.cpp:925

◆ TESSERACT_COMMON_IGNORE_WARNINGS_POP

TESSERACT_COMMON_IGNORE_WARNINGS_PUSH TESSERACT_COMMON_IGNORE_WARNINGS_POP
Initial value:
{
Abstract class for resource loaders.
Definition: tesseract_support_resource_locator.h:42