Tesseract
Motion Planning Environment
|
#include <tesseract_common/macros.h>
#include <gtest/gtest.h>
#include <Eigen/Geometry>
#include <tesseract_urdf/collision.h>
#include <tesseract_geometry/impl/box.h>
#include <tesseract_support/tesseract_support_resource_locator.h>
#include "tesseract_urdf_common_unit.h"
Functions | |
EXPECT_TRUE (runTest< std::vector< tesseract_scene_graph::Collision::Ptr > >(elem, &tesseract_urdf::parseCollision, str, "collision", resource_locator, 2)) | |
EXPECT_TRUE (elem.size()==1) | |
EXPECT_TRUE (elem[0]->geometry !=nullptr) | |
EXPECT_FALSE (elem[0]->origin.isApprox(Eigen::Isometry3d::Identity(), 1e-8)) | |
EXPECT_TRUE (elem[0]->origin.isApprox(Eigen::Isometry3d::Identity(), 1e-8)) | |
EXPECT_TRUE (elem[1]->geometry !=nullptr) | |
EXPECT_TRUE (elem[1]->origin.isApprox(Eigen::Isometry3d::Identity(), 1e-8)) | |
EXPECT_FALSE (runTest< std::vector< tesseract_scene_graph::Collision::Ptr > >(elem, &tesseract_urdf::parseCollision, str, "collision", resource_locator, 2)) | |
Variables | |
TESSERACT_COMMON_IGNORE_WARNINGS_PUSH | TESSERACT_COMMON_IGNORE_WARNINGS_POP |
std::vector< tesseract_scene_graph::Collision::Ptr > | elem |
EXPECT_FALSE | ( | elem->origin. | isApprox(Eigen::Isometry3d::Identity(), 1e-8)[0] | ) |
EXPECT_FALSE | ( | runTest< std::vector< tesseract_scene_graph::Collision::Ptr > > | elem, &tesseract_urdf::parseCollision, str, "collision", resource_locator, 2 | ) |
EXPECT_TRUE | ( | elem. | size() = =1 | ) |
EXPECT_TRUE | ( | elem->origin. | isApprox(Eigen::Isometry3d::Identity(), 1e-8)[0] | ) |
EXPECT_TRUE | ( | elem->origin. | isApprox(Eigen::Isometry3d::Identity(), 1e-8)[1] | ) |
EXPECT_TRUE | ( | runTest< std::vector< tesseract_scene_graph::Collision::Ptr > > | elem, &tesseract_urdf::parseCollision, str, "collision", resource_locator, 2 | ) |
std::vector< tesseract_scene_graph::Visual::Ptr > elem |
TESSERACT_COMMON_IGNORE_WARNINGS_PUSH TESSERACT_COMMON_IGNORE_WARNINGS_POP |