54 const std::map<std::string, std::vector<CollisionSphere>>& link_body_decompositions =
55 std::map<std::string, std::vector<CollisionSphere>>(),
56 double size_x = DEFAULT_SIZE_X,
double size_y = DEFAULT_SIZE_Y,
double size_z = DEFAULT_SIZE_Z,
57 const Eigen::Vector3d& origin = Eigen::Vector3d(0, 0, 0),
58 bool use_signed_distance_field = DEFAULT_USE_SIGNED_DISTANCE_FIELD,
59 double resolution = DEFAULT_RESOLUTION,
double collision_tolerance = DEFAULT_COLLISION_TOLERANCE,
60 double max_propogation_distance = DEFAULT_MAX_PROPOGATION_DISTANCE,
double padding = 0.0,
63 CollisionEnvHybrid(
const moveit::core::RobotModelConstPtr& robot_model,
const WorldPtr& world,
64 const std::map<std::string, std::vector<CollisionSphere>>& link_body_decompositions =
65 std::map<std::string, std::vector<CollisionSphere>>(),
66 double size_x = DEFAULT_SIZE_X,
double size_y = DEFAULT_SIZE_Y,
double size_z = DEFAULT_SIZE_Z,
67 const Eigen::Vector3d& origin = Eigen::Vector3d(0, 0, 0),
68 bool use_signed_distance_field = DEFAULT_USE_SIGNED_DISTANCE_FIELD,
69 double resolution = DEFAULT_RESOLUTION,
double collision_tolerance = DEFAULT_COLLISION_TOLERANCE,
70 double max_propogation_distance = DEFAULT_MAX_PROPOGATION_DISTANCE,
double padding = 0.0,
80 double size_x,
double size_y,
double size_z,
bool use_signed_distance_field,
81 double resolution,
double collision_tolerance,
double max_propogation_distance)
83 cenv_distance_->initialize(link_body_decompositions, Eigen::Vector3d(size_x, size_y, size_z),
84 Eigen::Vector3d(0, 0, 0), use_signed_distance_field, resolution, collision_tolerance,
85 max_propogation_distance);
94 GroupStateRepresentationPtr& gsr)
const;
103 GroupStateRepresentationPtr& gsr)
const;
120 GroupStateRepresentationPtr& gsr)
const;
133 GroupStateRepresentationPtr& gsr)
const;
135 void setWorld(
const WorldPtr& world)
override;
void initializeRobotDistanceField(const std::map< std::string, std::vector< CollisionSphere > > &link_body_decompositions, double size_x, double size_y, double size_z, bool use_signed_distance_field, double resolution, double collision_tolerance, double max_propogation_distance)