Skip to content
Snippets Groups Projects
Commit 807df8fb authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Fx bug: reimplement GraphPathValidation::removeObstacleFromJoint.

parent bba2033a
No related branches found
No related tags found
No related merge requests found
......@@ -99,6 +99,19 @@ namespace hpp {
void addObstacle (const hpp::core::CollisionObjectPtr_t&);
/// Remove a collision pair between a joint and an obstacle
/// \param joint the joint that holds the inner objects,
/// \param obstacle the obstacle to remove.
/// \notice collision configuration validation needs to know about
/// obstacles. This virtual method does nothing for configuration
/// validation methods that do not care about obstacles.
virtual void removeObstacleFromJoint (const JointPtr_t& joint,
const model::CollisionObjectPtr_t& obstacle)
{
assert (pathValidation_);
pathValidation_->removeObstacleFromJoint (joint, obstacle);
}
protected:
/// Constructor
GraphPathValidation (const PathValidationPtr_t& pathValidation);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment