collision_octomap_mesh_unit.cpp
Go to the documentation of this file.
3 #include <gtest/gtest.h>
5 
11 #include <tesseract_common/utils.h>
12 
13 using namespace tesseract_collision;
14 
15 TEST(TesseractCollisionUnit, BulletDiscreteSimpleCollisionOctomapSphereMeshUnit) // NOLINT
16 {
18  test_suite::runTest(checker,
19  tesseract_common::getTempPath() + "BulletDiscreteSimpleCollisionOctomapSphereMeshUnit.ply");
20 }
21 
22 TEST(TesseractCollisionUnit, BulletDiscreteBVHCollisionOctomapSphereMeshUnit) // NOLINT
23 {
25  test_suite::runTest(checker, tesseract_common::getTempPath() + "BulletDiscreteBVHCollisionOctomapSphereMeshUnit.ply");
26 }
27 
28 // TODO: There is an issue with fcl octomap collision type. Either with Tesseract implementation or fcl
29 // TEST(TesseractCollisionUnit, FCLDiscreteBVHCollisionOctomapSphereMeshUnit)
30 //{
31 // tesseract_collision_fcl::FCLDiscreteBVHManager checker;
32 // test_suite::runTest(checker, tesseract_common::getTempPath() + "FCLDiscreteBVHCollisionOctomapSphereMeshUnit.ply");
33 // // TODO: There appears to be an issue in fcl for octomap::OcTree.
34 //}
35 
37 int main(int argc, char** argv)
38 {
39  testing::InitGoogleTest(&argc, argv);
40 
41  return RUN_ALL_TESTS();
42 }
tesseract_common::getTempPath
std::string getTempPath()
fcl_discrete_managers.h
Tesseract ROS FCL contact checker implementation.
bullet_discrete_simple_manager.h
Tesseract ROS Bullet discrete simple collision manager.
utils.h
TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
main
int main(int argc, char **argv)
This is to test the shape id and sub-shape id of the contact results.
Definition: collision_octomap_mesh_unit.cpp:37
collision_octomap_mesh_unit.hpp
bullet_discrete_bvh_manager.h
Tesseract ROS Bullet discrete BVH collision manager.
TEST
TEST(TesseractCollisionUnit, BulletDiscreteSimpleCollisionOctomapSphereMeshUnit)
Definition: collision_octomap_mesh_unit.cpp:15
TESSERACT_COMMON_IGNORE_WARNINGS_POP
Definition: create_convex_hull.cpp:37
common.h
This is a collection of common methods.
tesseract_collision::tesseract_collision_bullet::BulletDiscreteBVHManager
A BVH implementation of a bullet manager.
Definition: bullet_discrete_bvh_manager.h:51
tesseract_collision::test_suite::runTest
void runTest(ContinuousContactManager &checker)
Definition: collision_box_box_cast_unit.hpp:111
tesseract_collision
Definition: bullet_cast_bvh_manager.h:48
macros.h
tesseract_collision::tesseract_collision_bullet::BulletDiscreteSimpleManager
A simple implementation of a bullet manager which does not use BHV.
Definition: bullet_discrete_simple_manager.h:51


tesseract_collision
Author(s): Levi Armstrong
autogenerated on Sun May 18 2025 03:01:52