Tesseract
Motion Planning Environment
|
#include <tesseract_common/macros.h>
#include <gtest/gtest.h>
#include <Eigen/Geometry>
#include <tesseract_urdf/mesh.h>
#include <tesseract_geometry/impl/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::Mesh::Ptr > >(geom, &tesseract_urdf::parseMesh, str, "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_FALSE (runTest< std::vector< tesseract_geometry::Mesh::Ptr > >(geom, &tesseract_urdf::parseMesh, str, "mesh", resource_locator, 2, true)) | |
Variables | |
std::vector< tesseract_geometry::Mesh::Ptr > | geom |
EXPECT_FALSE | ( | runTest< std::vector< tesseract_geometry::Mesh::Ptr > > | geom, &tesseract_urdf::parseMesh, str, "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::Mesh::Ptr > > | geom, &tesseract_urdf::parseMesh, str, "mesh", resource_locator, 2, true | ) |
|
static |
std::vector<tesseract_geometry::Mesh::Ptr> geom |