moveit2
The MoveIt Motion Planning Framework for ROS 2.
|
#include <collision_env_distance_field.h>
Classes | |
struct | DistanceFieldCacheEntryWorld |
Public Member Functions | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | CollisionEnvDistanceField (const moveit::core::RobotModelConstPtr &robot_model, const std::map< std::string, std::vector< CollisionSphere > > &link_body_decompositions=std::map< std::string, std::vector< CollisionSphere > >(), double size_x=DEFAULT_SIZE_X, double size_y=DEFAULT_SIZE_Y, double size_z=DEFAULT_SIZE_Z, const Eigen::Vector3d &origin=Eigen::Vector3d(0, 0, 0), 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) |
CollisionEnvDistanceField (const moveit::core::RobotModelConstPtr &robot_model, const WorldPtr &world, const std::map< std::string, std::vector< CollisionSphere > > &link_body_decompositions=std::map< std::string, std::vector< CollisionSphere > >(), double size_x=DEFAULT_SIZE_X, double size_y=DEFAULT_SIZE_Y, double size_z=DEFAULT_SIZE_Z, const Eigen::Vector3d &origin=Eigen::Vector3d(0, 0, 0), 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) | |
CollisionEnvDistanceField (const CollisionEnvDistanceField &other, const WorldPtr &world) | |
void | initialize (const std::map< std::string, std::vector< CollisionSphere > > &link_body_decompositions, const Eigen::Vector3d &size, const Eigen::Vector3d &origin, bool use_signed_distance_field, double resolution, double collision_tolerance, double max_propogation_distance) |
void | checkSelfCollision (const collision_detection::CollisionRequest &req, collision_detection::CollisionResult &res, const moveit::core::RobotState &state) const override |
Check for robot self collision. Any collision between any pair of links is checked for, NO collisions are ignored. | |
void | checkSelfCollision (const collision_detection::CollisionRequest &req, collision_detection::CollisionResult &res, const moveit::core::RobotState &state, GroupStateRepresentationPtr &gsr) const |
void | checkSelfCollision (const collision_detection::CollisionRequest &req, collision_detection::CollisionResult &res, const moveit::core::RobotState &state, const collision_detection::AllowedCollisionMatrix &acm) const override |
Check for self collision. Allowed collisions specified by the allowed collision matrix are taken into account. | |
void | checkSelfCollision (const collision_detection::CollisionRequest &req, collision_detection::CollisionResult &res, const moveit::core::RobotState &state, const collision_detection::AllowedCollisionMatrix &acm, GroupStateRepresentationPtr &gsr) const |
void | createCollisionModelMarker (const moveit::core::RobotState &state, visualization_msgs::msg::MarkerArray &model_markers) const |
virtual double | distanceSelf (const moveit::core::RobotState &) const |
virtual double | distanceSelf (const moveit::core::RobotState &, const collision_detection::AllowedCollisionMatrix &) const |
void | distanceSelf (const DistanceRequest &, DistanceResult &, const moveit::core::RobotState &) const override |
The distance to self-collision given the robot is at state state. | |
DistanceFieldCacheEntryConstPtr | getLastDistanceFieldEntry () const |
MOVEIT_STRUCT_FORWARD (DistanceFieldCacheEntryWorld) | |
~CollisionEnvDistanceField () override | |
void | checkCollision (const CollisionRequest &req, CollisionResult &res, const moveit::core::RobotState &state) const override |
Check whether the robot model is in collision with itself or the world at a particular state. Any collision between any pair of links is checked for, NO collisions are ignored. | |
virtual void | checkCollision (const CollisionRequest &req, CollisionResult &res, const moveit::core::RobotState &state, GroupStateRepresentationPtr &gsr) const |
void | checkCollision (const CollisionRequest &req, CollisionResult &res, const moveit::core::RobotState &state, const AllowedCollisionMatrix &acm) const override |
Check whether the robot model is in collision with itself or the world at a particular state. Allowed collisions specified by the allowed collision matrix are taken into account. | |
virtual void | checkCollision (const CollisionRequest &req, CollisionResult &res, const moveit::core::RobotState &state, const AllowedCollisionMatrix &acm, GroupStateRepresentationPtr &gsr) const |
void | checkRobotCollision (const CollisionRequest &req, CollisionResult &res, const moveit::core::RobotState &state) const override |
Check whether the robot model is in collision with the world. Any collisions between a robot link and the world are considered. Self collisions are not checked. | |
virtual void | checkRobotCollision (const CollisionRequest &req, CollisionResult &res, const moveit::core::RobotState &state, GroupStateRepresentationPtr &gsr) const |
void | checkRobotCollision (const CollisionRequest &req, CollisionResult &res, const moveit::core::RobotState &state, const AllowedCollisionMatrix &acm) const override |
Check whether the robot model is in collision with the world. Allowed collisions are ignored. Self collisions are not checked. | |
virtual void | checkRobotCollision (const CollisionRequest &req, CollisionResult &res, const moveit::core::RobotState &state, const AllowedCollisionMatrix &acm, GroupStateRepresentationPtr &gsr) const |
void | checkRobotCollision (const CollisionRequest &req, CollisionResult &res, const moveit::core::RobotState &state1, const moveit::core::RobotState &state2, const AllowedCollisionMatrix &acm) const override |
Check whether the robot model is in collision with the world in a continuous manner (between two robot states). Allowed collisions are ignored. Self collisions are not checked. | |
void | checkRobotCollision (const CollisionRequest &req, CollisionResult &res, const moveit::core::RobotState &state1, const moveit::core::RobotState &state2) const override |
Check whether the robot model is in collision with the world in a continuous manner (between two robot states). Allowed collisions are ignored. Self collisions are not checked. | |
virtual double | distanceRobot (const moveit::core::RobotState &state, bool verbose=false) const |
virtual double | distanceRobot (const moveit::core::RobotState &state, const AllowedCollisionMatrix &acm, bool verbose=false) const |
void | distanceRobot (const DistanceRequest &, DistanceResult &, const moveit::core::RobotState &) const override |
Compute the distance between a robot and the world. | |
void | setWorld (const WorldPtr &world) override |
distance_field::DistanceFieldConstPtr | getDistanceField () const |
collision_detection::GroupStateRepresentationConstPtr | getLastGroupStateRepresentation () const |
void | getCollisionGradients (const CollisionRequest &req, CollisionResult &res, const moveit::core::RobotState &state, const AllowedCollisionMatrix *acm, GroupStateRepresentationPtr &gsr) const |
void | getAllCollisions (const CollisionRequest &req, CollisionResult &res, const moveit::core::RobotState &state, const AllowedCollisionMatrix *acm, GroupStateRepresentationPtr &gsr) const |
Public Member Functions inherited from collision_detection::CollisionEnv | |
CollisionEnv ()=delete | |
CollisionEnv (const moveit::core::RobotModelConstPtr &model, double padding=0.0, double scale=1.0) | |
Constructor. | |
CollisionEnv (const moveit::core::RobotModelConstPtr &model, const WorldPtr &world, double padding=0.0, double scale=1.0) | |
Constructor. | |
CollisionEnv (const CollisionEnv &other, const WorldPtr &world) | |
Copy constructor. | |
virtual | ~CollisionEnv () |
double | distanceSelf (const moveit::core::RobotState &state) const |
The distance to self-collision given the robot is at state state. | |
double | distanceSelf (const moveit::core::RobotState &state, const AllowedCollisionMatrix &acm) const |
The distance to self-collision given the robot is at state state, ignoring the distances between links that are allowed to always collide (as specified by acm) | |
double | distanceRobot (const moveit::core::RobotState &state, bool verbose=false) const |
Compute the shortest distance between a robot and the world. | |
double | distanceRobot (const moveit::core::RobotState &state, const AllowedCollisionMatrix &acm, bool verbose=false) const |
Compute the shortest distance between a robot and the world. | |
const WorldPtr & | getWorld () |
const WorldConstPtr & | getWorld () const |
const moveit::core::RobotModelConstPtr & | getRobotModel () const |
The kinematic model corresponding to this collision model. | |
void | setLinkPadding (const std::string &link_name, double padding) |
Set the link padding for a particular link. | |
double | getLinkPadding (const std::string &link_name) const |
Get the link padding for a particular link. | |
void | setLinkPadding (const std::map< std::string, double > &padding) |
Set the link paddings using a map (from link names to padding value) | |
const std::map< std::string, double > & | getLinkPadding () const |
Get the link paddings as a map (from link names to padding value) | |
void | setLinkScale (const std::string &link_name, double scale) |
Set the scaling for a particular link. | |
double | getLinkScale (const std::string &link_name) const |
Set the scaling for a particular link. | |
void | setLinkScale (const std::map< std::string, double > &scale) |
Set the link scaling using a map (from link names to scale value) | |
const std::map< std::string, double > & | getLinkScale () const |
Get the link scaling as a map (from link names to scale value) | |
void | setPadding (double padding) |
Set the link padding (for every link) | |
void | setScale (double scale) |
Set the link scaling (for every link) | |
void | setPadding (const std::vector< moveit_msgs::msg::LinkPadding > &padding) |
Set the link padding from a vector of messages. | |
void | getPadding (std::vector< moveit_msgs::msg::LinkPadding > &padding) const |
Get the link padding as a vector of messages. | |
void | setScale (const std::vector< moveit_msgs::msg::LinkScale > &scale) |
Set the link scaling from a vector of messages. | |
void | getScale (std::vector< moveit_msgs::msg::LinkScale > &scale) const |
Get the link scaling as a vector of messages. | |
Protected Member Functions | |
bool | getSelfProximityGradients (GroupStateRepresentationPtr &gsr) const |
bool | getIntraGroupProximityGradients (GroupStateRepresentationPtr &gsr) const |
bool | getSelfCollisions (const collision_detection::CollisionRequest &req, collision_detection::CollisionResult &res, GroupStateRepresentationPtr &gsr) const |
bool | getIntraGroupCollisions (const collision_detection::CollisionRequest &req, collision_detection::CollisionResult &res, GroupStateRepresentationPtr &gsr) const |
void | checkSelfCollisionHelper (const collision_detection::CollisionRequest &req, collision_detection::CollisionResult &res, const moveit::core::RobotState &state, const collision_detection::AllowedCollisionMatrix *acm, GroupStateRepresentationPtr &gsr) const |
void | updateGroupStateRepresentationState (const moveit::core::RobotState &state, GroupStateRepresentationPtr &gsr) const |
void | generateCollisionCheckingStructures (const std::string &group_name, const moveit::core::RobotState &state, const collision_detection::AllowedCollisionMatrix *acm, GroupStateRepresentationPtr &gsr, bool generate_distance_field) const |
DistanceFieldCacheEntryConstPtr | getDistanceFieldCacheEntry (const std::string &group_name, const moveit::core::RobotState &state, const collision_detection::AllowedCollisionMatrix *acm) const |
DistanceFieldCacheEntryPtr | generateDistanceFieldCacheEntry (const std::string &group_name, const moveit::core::RobotState &state, const collision_detection::AllowedCollisionMatrix *acm, bool generate_distance_field) const |
void | addLinkBodyDecompositions (double resolution) |
void | addLinkBodyDecompositions (double resolution, const std::map< std::string, std::vector< CollisionSphere > > &link_body_decompositions) |
PosedBodySphereDecompositionPtr | getPosedLinkBodySphereDecomposition (const moveit::core::LinkModel *ls, unsigned int ind) const |
PosedBodyPointDecompositionPtr | getPosedLinkBodyPointDecomposition (const moveit::core::LinkModel *ls) const |
void | getGroupStateRepresentation (const DistanceFieldCacheEntryConstPtr &dfce, const moveit::core::RobotState &state, GroupStateRepresentationPtr &gsr) const |
bool | compareCacheEntryToState (const DistanceFieldCacheEntryConstPtr &dfce, const moveit::core::RobotState &state) const |
bool | compareCacheEntryToAllowedCollisionMatrix (const DistanceFieldCacheEntryConstPtr &dfce, const collision_detection::AllowedCollisionMatrix &acm) const |
void | updatedPaddingOrScaling (const std::vector< std::string > &) override |
When the scale or padding is changed for a set of links by any of the functions in this class, updatedPaddingOrScaling() function is called. This function has an empty default implementation. The intention is to override this function in a derived class to allow for updating additional structures that may need such updating when link scale or padding changes. | |
DistanceFieldCacheEntryWorldPtr | generateDistanceFieldCacheEntryWorld () |
void | updateDistanceObject (const std::string &id, CollisionEnvDistanceField::DistanceFieldCacheEntryWorldPtr &dfce, EigenSTL::vector_Vector3d &add_points, EigenSTL::vector_Vector3d &subtract_points) |
bool | getEnvironmentCollisions (const CollisionRequest &req, CollisionResult &res, const distance_field::DistanceFieldConstPtr &env_distance_field, GroupStateRepresentationPtr &gsr) const |
bool | getEnvironmentProximityGradients (const distance_field::DistanceFieldConstPtr &env_distance_field, GroupStateRepresentationPtr &gsr) const |
void | notifyObjectChange (const ObjectConstPtr &obj, World::Action action) |
Protected Attributes | |
rclcpp::Logger | logger_ |
Eigen::Vector3d | size_ |
Eigen::Vector3d | origin_ |
bool | use_signed_distance_field_ |
double | resolution_ |
double | collision_tolerance_ |
double | max_propogation_distance_ |
std::vector< BodyDecompositionConstPtr > | link_body_decomposition_vector_ |
std::map< std::string, unsigned int > | link_body_decomposition_index_map_ |
std::mutex | update_cache_lock_ |
DistanceFieldCacheEntryPtr | distance_field_cache_entry_ |
std::map< std::string, std::map< std::string, bool > > | in_group_update_map_ |
std::map< std::string, GroupStateRepresentationPtr > | pregenerated_group_state_representation_map_ |
planning_scene::PlanningScenePtr | planning_scene_ |
std::mutex | update_cache_lock_world_ |
DistanceFieldCacheEntryWorldPtr | distance_field_cache_entry_world_ |
GroupStateRepresentationPtr | last_gsr_ |
World::ObserverHandle | observer_handle_ |
Protected Attributes inherited from collision_detection::CollisionEnv | |
moveit::core::RobotModelConstPtr | robot_model_ |
The kinematic model corresponding to this collision model. | |
std::map< std::string, double > | link_padding_ |
The internally maintained map (from link names to padding) | |
std::map< std::string, double > | link_scale_ |
The internally maintained map (from link names to scaling) | |
Additional Inherited Members | |
Public Types inherited from collision_detection::CollisionEnv | |
using | ObjectPtr = World::ObjectPtr |
using | ObjectConstPtr = World::ObjectConstPtr |
Definition at line 59 of file collision_env_distance_field.h.
collision_detection::CollisionEnvDistanceField::CollisionEnvDistanceField | ( | const moveit::core::RobotModelConstPtr & | robot_model, |
const std::map< std::string, std::vector< CollisionSphere > > & | link_body_decompositions = std::map<std::string, std::vector<CollisionSphere>>() , |
||
double | size_x = DEFAULT_SIZE_X , |
||
double | size_y = DEFAULT_SIZE_Y , |
||
double | size_z = DEFAULT_SIZE_Z , |
||
const Eigen::Vector3d & | origin = Eigen::Vector3d(0, 0, 0) , |
||
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 |
||
) |
Definition at line 59 of file collision_env_distance_field.cpp.
collision_detection::CollisionEnvDistanceField::CollisionEnvDistanceField | ( | const moveit::core::RobotModelConstPtr & | robot_model, |
const WorldPtr & | world, | ||
const std::map< std::string, std::vector< CollisionSphere > > & | link_body_decompositions = std::map<std::string, std::vector<CollisionSphere>>() , |
||
double | size_x = DEFAULT_SIZE_X , |
||
double | size_y = DEFAULT_SIZE_Y , |
||
double | size_z = DEFAULT_SIZE_Z , |
||
const Eigen::Vector3d & | origin = Eigen::Vector3d(0, 0, 0) , |
||
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 |
||
) |
Definition at line 78 of file collision_env_distance_field.cpp.
collision_detection::CollisionEnvDistanceField::CollisionEnvDistanceField | ( | const CollisionEnvDistanceField & | other, |
const WorldPtr & | world | ||
) |
Definition at line 98 of file collision_env_distance_field.cpp.
|
override |
Definition at line 121 of file collision_env_distance_field.cpp.
|
protected |
Definition at line 960 of file collision_env_distance_field.cpp.
|
protected |
Definition at line 1049 of file collision_env_distance_field.cpp.
|
overridevirtual |
Check whether the robot model is in collision with itself or the world at a particular state. Any collision between any pair of links is checked for, NO collisions are ignored.
req | A CollisionRequest object that encapsulates the collision request |
res | A CollisionResult object that encapsulates the collision result |
state | The kinematic state for which checks are being made |
Reimplemented from collision_detection::CollisionEnv.
Definition at line 1382 of file collision_env_distance_field.cpp.
|
overridevirtual |
Check whether the robot model is in collision with itself or the world at a particular state. Allowed collisions specified by the allowed collision matrix are taken into account.
req | A CollisionRequest object that encapsulates the collision request |
res | A CollisionResult object that encapsulates the collision result |
state | The kinematic state for which checks are being made |
acm | The allowed collision matrix. |
Reimplemented from collision_detection::CollisionEnv.
Definition at line 1414 of file collision_env_distance_field.cpp.
|
virtual |
Definition at line 1422 of file collision_env_distance_field.cpp.
|
virtual |
Definition at line 1389 of file collision_env_distance_field.cpp.
|
overridevirtual |
Check whether the robot model is in collision with the world. Any collisions between a robot link and the world are considered. Self collisions are not checked.
req | A CollisionRequest object that encapsulates the collision request |
res | A CollisionResult object that encapsulates the collision result @robot robot The collision model for the robot |
state | The kinematic state for which checks are being made |
Implements collision_detection::CollisionEnv.
Definition at line 1447 of file collision_env_distance_field.cpp.
|
overridevirtual |
Check whether the robot model is in collision with the world. Allowed collisions are ignored. Self collisions are not checked.
req | A CollisionRequest object that encapsulates the collision request |
res | A CollisionResult object that encapsulates the collision result @robot robot The collision model for the robot |
state | The kinematic state for which checks are being made |
acm | The allowed collision matrix. |
Implements collision_detection::CollisionEnv.
Definition at line 1473 of file collision_env_distance_field.cpp.
|
virtual |
Definition at line 1481 of file collision_env_distance_field.cpp.
|
virtual |
Definition at line 1454 of file collision_env_distance_field.cpp.
|
overridevirtual |
Check whether the robot model is in collision with the world in a continuous manner (between two robot states). Allowed collisions are ignored. Self collisions are not checked.
req | A CollisionRequest object that encapsulates the collision request |
res | A CollisionResult object that encapsulates the collision result @robot robot The collision model for the robot |
state1 | The kinematic state at the start of the segment for which checks are being made |
state2 | The kinematic state at the end of the segment for which checks are being made |
acm | The allowed collision matrix. |
Implements collision_detection::CollisionEnv.
Definition at line 1510 of file collision_env_distance_field.cpp.
|
overridevirtual |
Check whether the robot model is in collision with the world in a continuous manner (between two robot states). Allowed collisions are ignored. Self collisions are not checked.
req | A CollisionRequest object that encapsulates the collision request |
res | A CollisionResult object that encapsulates the collision result @robot robot The collision model for the robot |
state1 | The kinematic state at the start of the segment for which checks are being made |
state2 | The kinematic state at the end of the segment for which checks are being made |
acm | The allowed collision matrix. |
Implements collision_detection::CollisionEnv.
Definition at line 1502 of file collision_env_distance_field.cpp.
|
overridevirtual |
Check for robot self collision. Any collision between any pair of links is checked for, NO collisions are ignored.
req | A CollisionRequest object that encapsulates the collision request |
res | A CollisionResult object that encapsulates the collision result |
state | The kinematic state for which checks are being made |
Implements collision_detection::CollisionEnv.
Definition at line 235 of file collision_env_distance_field.cpp.
|
overridevirtual |
Check for self collision. Allowed collisions specified by the allowed collision matrix are taken into account.
req | A CollisionRequest object that encapsulates the collision request |
res | A CollisionResult object that encapsulates the collision result |
state | The kinematic state for which checks are being made |
acm | The allowed collision matrix. |
Implements collision_detection::CollisionEnv.
Definition at line 251 of file collision_env_distance_field.cpp.
void collision_detection::CollisionEnvDistanceField::checkSelfCollision | ( | const collision_detection::CollisionRequest & | req, |
collision_detection::CollisionResult & | res, | ||
const moveit::core::RobotState & | state, | ||
const collision_detection::AllowedCollisionMatrix & | acm, | ||
GroupStateRepresentationPtr & | gsr | ||
) | const |
Definition at line 260 of file collision_env_distance_field.cpp.
void collision_detection::CollisionEnvDistanceField::checkSelfCollision | ( | const collision_detection::CollisionRequest & | req, |
collision_detection::CollisionResult & | res, | ||
const moveit::core::RobotState & | state, | ||
GroupStateRepresentationPtr & | gsr | ||
) | const |
Definition at line 243 of file collision_env_distance_field.cpp.
|
protected |
Definition at line 177 of file collision_env_distance_field.cpp.
|
protected |
Definition at line 1314 of file collision_env_distance_field.cpp.
|
protected |
Definition at line 1254 of file collision_env_distance_field.cpp.
void collision_detection::CollisionEnvDistanceField::createCollisionModelMarker | ( | const moveit::core::RobotState & | state, |
visualization_msgs::msg::MarkerArray & | model_markers | ||
) | const |
Definition at line 981 of file collision_env_distance_field.cpp.
|
inlineoverridevirtual |
Compute the distance between a robot and the world.
req | A DistanceRequest object that encapsulates the distance request |
res | A DistanceResult object that encapsulates the distance result |
robot | The robot to check distance for |
state | The state for the robot to check distances from |
Implements collision_detection::CollisionEnv.
Definition at line 195 of file collision_env_distance_field.h.
|
inlinevirtual |
Definition at line 179 of file collision_env_distance_field.h.
|
inlinevirtual |
Definition at line 186 of file collision_env_distance_field.h.
|
inlineoverridevirtual |
The distance to self-collision given the robot is at state state.
req | A DistanceRequest object that encapsulates the distance request |
res | A DistanceResult object that encapsulates the distance result |
state | The state of this robot to consider |
Implements collision_detection::CollisionEnv.
Definition at line 120 of file collision_env_distance_field.h.
|
inlinevirtual |
Definition at line 109 of file collision_env_distance_field.h.
|
inlinevirtual |
Definition at line 114 of file collision_env_distance_field.h.
|
protected |
Definition at line 158 of file collision_env_distance_field.cpp.
|
protected |
Definition at line 710 of file collision_env_distance_field.cpp.
|
protected |
Definition at line 1782 of file collision_env_distance_field.cpp.
void collision_detection::CollisionEnvDistanceField::getAllCollisions | ( | const CollisionRequest & | req, |
CollisionResult & | res, | ||
const moveit::core::RobotState & | state, | ||
const AllowedCollisionMatrix * | acm, | ||
GroupStateRepresentationPtr & | gsr | ||
) | const |
Definition at line 1540 of file collision_env_distance_field.cpp.
void collision_detection::CollisionEnvDistanceField::getCollisionGradients | ( | const CollisionRequest & | req, |
CollisionResult & | res, | ||
const moveit::core::RobotState & | state, | ||
const AllowedCollisionMatrix * | acm, | ||
GroupStateRepresentationPtr & | gsr | ||
) | const |
Definition at line 1517 of file collision_env_distance_field.cpp.
|
inline |
Definition at line 203 of file collision_env_distance_field.h.
|
protected |
Definition at line 203 of file collision_env_distance_field.cpp.
|
protected |
Definition at line 1561 of file collision_env_distance_field.cpp.
|
protected |
Definition at line 1645 of file collision_env_distance_field.cpp.
|
protected |
std::cerr << "Attached " << dfce->attached_body_names_[i] << " index " << dfce->attached_body_link_state_indices_[i] << '
';
Definition at line 1157 of file collision_env_distance_field.cpp.
|
protected |
Definition at line 430 of file collision_env_distance_field.cpp.
|
protected |
Definition at line 644 of file collision_env_distance_field.cpp.
|
inline |
Definition at line 126 of file collision_env_distance_field.h.
|
inline |
Definition at line 208 of file collision_env_distance_field.h.
|
protected |
Definition at line 1090 of file collision_env_distance_field.cpp.
|
protected |
Definition at line 1081 of file collision_env_distance_field.cpp.
|
protected |
Definition at line 274 of file collision_env_distance_field.cpp.
|
protected |
Definition at line 355 of file collision_env_distance_field.cpp.
void collision_detection::CollisionEnvDistanceField::initialize | ( | const std::map< std::string, std::vector< CollisionSphere > > & | link_body_decompositions, |
const Eigen::Vector3d & | size, | ||
const Eigen::Vector3d & | origin, | ||
bool | use_signed_distance_field, | ||
double | resolution, | ||
double | collision_tolerance, | ||
double | max_propogation_distance | ||
) |
Definition at line 126 of file collision_env_distance_field.cpp.
collision_detection::CollisionEnvDistanceField::MOVEIT_STRUCT_FORWARD | ( | DistanceFieldCacheEntryWorld | ) |
|
protected |
Definition at line 1704 of file collision_env_distance_field.cpp.
|
overridevirtual |
set the world to use. This can be expensive unless the new and old world are empty. Passing nullptr will result in a new empty world being created.
Reimplemented from collision_detection::CollisionEnv.
Definition at line 1683 of file collision_env_distance_field.cpp.
|
protected |
Definition at line 1730 of file collision_env_distance_field.cpp.
|
inlineoverrideprotectedvirtual |
When the scale or padding is changed for a set of links by any of the functions in this class, updatedPaddingOrScaling() function is called. This function has an empty default implementation. The intention is to override this function in a derived class to allow for updating additional structures that may need such updating when link scale or padding changes.
links | the names of the links whose padding or scaling were updated |
Reimplemented from collision_detection::CollisionEnv.
Definition at line 270 of file collision_env_distance_field.h.
|
protected |
Definition at line 1103 of file collision_env_distance_field.cpp.
|
protected |
Definition at line 292 of file collision_env_distance_field.h.
|
protected |
Definition at line 299 of file collision_env_distance_field.h.
|
protected |
Definition at line 306 of file collision_env_distance_field.h.
|
protected |
Definition at line 300 of file collision_env_distance_field.h.
|
protected |
Definition at line 307 of file collision_env_distance_field.h.
|
protected |
Definition at line 296 of file collision_env_distance_field.h.
|
protected |
Definition at line 295 of file collision_env_distance_field.h.
|
protected |
Definition at line 286 of file collision_env_distance_field.h.
|
protected |
Definition at line 293 of file collision_env_distance_field.h.
|
protected |
Definition at line 308 of file collision_env_distance_field.h.
|
protected |
Definition at line 289 of file collision_env_distance_field.h.
|
protected |
Definition at line 303 of file collision_env_distance_field.h.
|
protected |
Definition at line 301 of file collision_env_distance_field.h.
|
protected |
Definition at line 291 of file collision_env_distance_field.h.
|
protected |
Definition at line 288 of file collision_env_distance_field.h.
|
mutableprotected |
Definition at line 298 of file collision_env_distance_field.h.
|
mutableprotected |
Definition at line 305 of file collision_env_distance_field.h.
|
protected |
Definition at line 290 of file collision_env_distance_field.h.