41 #include <collision_distance_field/hybrid_collision_robot.h>
49 double size_y = DEFAULT_SIZE_Y,
double size_z = DEFAULT_SIZE_Z,
50 bool use_signed_distance_field = DEFAULT_USE_SIGNED_DISTANCE_FIELD,
51 double resolution = DEFAULT_RESOLUTION,
52 double collision_tolerance = DEFAULT_COLLISION_TOLERANCE,
53 double max_propogation_distance = DEFAULT_MAX_PROPOGATION_DISTANCE,
double padding = 0.0,
55 : CollisionRobotHybrid(robot_model)
58 std::map<std::string, std::vector<CollisionSphere> > coll_spheres;
59 collision_detection::loadLinkBodySphereDecompositions(nh, getRobotModel(), coll_spheres);
60 initializeRobotDistanceField(coll_spheres, size_x, size_y, size_z, use_signed_distance_field, resolution,
61 collision_tolerance, max_propogation_distance);
CollisionRobotHybridROS(const planning_models::RobotModelConstPtr &robot_model, double size_x=DEFAULT_SIZE_X, double size_y=DEFAULT_SIZE_Y, double size_z=DEFAULT_SIZE_Z, bool use_signed_distance_field=DEFAULT_USE_SIGNED_DISTANCE_FIELD, double resolution=DEFAULT_RESOLUTION, double collision_tolerance=DEFAULT_COLLISION_TOLERANCE, double max_propogation_distance=DEFAULT_MAX_PROPOGATION_DISTANCE, double padding=0.0, double scale=1.0)