Tesseract
Motion Planning Environment
|
#include <tesseract_common/macros.h>
#include <gtest/gtest.h>
#include <Eigen/Geometry>
#include <tesseract_urdf/sdf_mesh.h>
#include <tesseract_geometry/impl/sdf_mesh.h>
#include <tesseract_support/tesseract_support_resource_locator.h>
#include "tesseract_urdf_common_unit.h"
Functions | |
TESSERACT_COMMON_IGNORE_WARNINGS_PUSH static TESSERACT_COMMON_IGNORE_WARNINGS_POP std::string | getTempPkgPath () |
EXPECT_TRUE (runTest< std::vector< tesseract_geometry::SDFMesh::Ptr > >(geom, &tesseract_urdf::parseSDFMesh, str, "sdf_mesh", resource_locator, 2, true)) | |
EXPECT_TRUE (geom.size()==1) | |
EXPECT_TRUE (geom[0]->getFaceCount()==80) | |
EXPECT_NEAR (geom[0]->getScale()[0], 1, 1e-5) | |
EXPECT_NEAR (geom[0]->getScale()[1], 2, 1e-5) | |
EXPECT_NEAR (geom[0]->getScale()[2], 1, 1e-5) | |
EXPECT_NEAR (geom[0]->getScale()[1], 1, 1e-5) | |
EXPECT_TRUE (runTest< std::vector< tesseract_geometry::SDFMesh::Ptr > >(geom, &tesseract_urdf::parseSDFMesh, str, "sdf_mesh", resource_locator, 2, false)) | |
EXPECT_FALSE (runTest< std::vector< tesseract_geometry::SDFMesh::Ptr > >(geom, &tesseract_urdf::parseSDFMesh, str, "sdf_mesh", resource_locator, 2, true)) | |
Variables | |
std::vector< tesseract_geometry::SDFMesh::Ptr > | geom |
EXPECT_FALSE | ( | runTest< std::vector< tesseract_geometry::SDFMesh::Ptr > > | geom, &tesseract_urdf::parseSDFMesh, str, "sdf_mesh", resource_locator, 2, true | ) |
EXPECT_NEAR | ( | geom-> | getScale()[0][0], |
1 | , | ||
1e- | 5 | ||
) |
EXPECT_NEAR | ( | geom-> | getScale()[0][1], |
1 | , | ||
1e- | 5 | ||
) |
EXPECT_NEAR | ( | geom-> | getScale()[0][1], |
2 | , | ||
1e- | 5 | ||
) |
EXPECT_NEAR | ( | geom-> | getScale()[0][2], |
1 | , | ||
1e- | 5 | ||
) |
EXPECT_TRUE | ( | geom. | size() = =1 | ) |
EXPECT_TRUE | ( | geom-> | getFaceCount()[0] = =80 | ) |
EXPECT_TRUE | ( | runTest< std::vector< tesseract_geometry::SDFMesh::Ptr > > | geom, &tesseract_urdf::parseSDFMesh, str, "sdf_mesh", resource_locator, 2, false | ) |
EXPECT_TRUE | ( | runTest< std::vector< tesseract_geometry::SDFMesh::Ptr > > | geom, &tesseract_urdf::parseSDFMesh, str, "sdf_mesh", resource_locator, 2, true | ) |
|
static |
std::vector<tesseract_geometry::SDFMesh::Ptr> geom |