1#ifndef TESSERACT_COLLISION_BENCHMARK_UTILS_HPP
2#define TESSERACT_COLLISION_BENCHMARK_UTILS_HPP
4#include <benchmark/benchmark.h>
6#include <console_bridge/console.h>
9using namespace test_suite;
13 const double scale = 1.0)
28 geom = std::make_shared<tesseract_geometry::Sphere>(
scale);
31 geom = std::make_shared<tesseract_geometry::Capsule>(
scale,
scale);
34 geom = std::make_shared<tesseract_geometry::Cylinder>(
scale,
scale);
37 CONSOLE_BRIDGE_logError(
"Invalid Geometry Type. Can only create primatives");
tesseract_geometry::Geometry::Ptr CreateUnitPrimative(const tesseract_geometry::GeometryType type, const double scale=1.0)
Definition: benchmark_utils.hpp:12
std::shared_ptr< Geometry > Ptr
Definition: geometry.h:62
double scale
Definition: collision_margin_data_unit.cpp:133
Definition: bullet_cast_bvh_manager.h:49
Definition: geometry.h:39
GeometryType
Definition: geometry.h:41
@ BOX
Definition: geometry.h:47
@ CAPSULE
Definition: geometry.h:45
@ CONE
Definition: geometry.h:46
@ PLANE
Definition: geometry.h:48
@ CYLINDER
Definition: geometry.h:44
@ SPHERE
Definition: geometry.h:43
mCollisionCheckConfig contact_request type
Definition: tesseract_environment_collision.cpp:103
auto geom
Definition: tesseract_geometry_unit.cpp:51