Go to the documentation of this file.
29 #include <yaml-cpp/yaml.h>
49 bool share_pool_allocators{
false };
50 if (YAML::Node n = config[
"share_pool_allocators"])
51 share_pool_allocators = n.as<
bool>();
55 if (YAML::Node n = config[
"max_persistent_manifold_pool_size"])
56 config_info.m_defaultMaxPersistentManifoldPoolSize = n.as<
int>();
58 if (YAML::Node n = config[
"max_collision_algorithm_pool_size"])
59 config_info.m_defaultMaxCollisionAlgorithmPoolSize = n.as<
int>();
61 config_info.createPoolAllocators();
65 std::unique_ptr<tesseract_collision::DiscreteContactManager>
72 const YAML::Node& config)
const
74 return std::make_unique<BulletDiscreteSimpleManager>(
name,
getConfigInfo(config));
78 const YAML::Node& config)
const
84 const YAML::Node& config)
const
89 PLUGIN_ANCHOR_IMPL(BulletFactoriesAnchor)
95 BulletDiscreteBVHManagerFactory);
99 BulletDiscreteSimpleManagerFactory);
102 BulletCastBVHManagerFactory);
105 BulletCastSimpleManagerFactory);
Tesseract ROS Bullet cast(continuous) simple collision manager.
std::unique_ptr< DiscreteContactManager > create(const std::string &name, const YAML::Node &config) const override final
Create Discrete Contact Manager Object.
Tesseract ROS Bullet cast(continuous) BVH collision manager.
Tesseract ROS Bullet discrete simple collision manager.
Modified bullet collision configuration.
TesseractCollisionConfigurationInfo getConfigInfo(const YAML::Node &config)
#define TESSERACT_COMMON_IGNORE_WARNINGS_PUSH
std::unique_ptr< ContinuousContactManager > create(const std::string &name, const YAML::Node &config) const override final
Create Inverse Kinematics Object.
Tesseract ROS Bullet discrete BVH collision manager.
std::unique_ptr< ContinuousContactManager > create(const std::string &name, const YAML::Node &config) const override final
Create Inverse Kinematics Object.
TESSERACT_ADD_CONTINUOUS_MANAGER_PLUGIN(tesseract_collision::tesseract_collision_bullet::BulletCastBVHManagerFactory, BulletCastBVHManagerFactory)
TESSERACT_ADD_DISCRETE_MANAGER_PLUGIN(tesseract_collision::tesseract_collision_bullet::BulletDiscreteBVHManagerFactory, BulletDiscreteBVHManagerFactory)
std::unique_ptr< DiscreteContactManager > create(const std::string &name, const YAML::Node &config) const override final
Create Discrete Contact Manager Object.
Factories for loading bullet contact managers as plugins.
The yaml config for each of the factories below is the same.