Skip to content
Snippets Groups Projects
Commit 37e8bae9 authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

Rename Problem::steeringMethod -> manipulationSteeringMethod

parent 591d9b20
Branches
Tags
No related merge requests found
...@@ -57,12 +57,7 @@ namespace hpp { ...@@ -57,12 +57,7 @@ namespace hpp {
void pathValidation (const PathValidationPtr_t& pathValidation); void pathValidation (const PathValidationPtr_t& pathValidation);
/// Get the steering method as a SteeringMethod /// Get the steering method as a SteeringMethod
SteeringMethodPtr_t steeringMethod () const; SteeringMethodPtr_t manipulationSteeringMethod () const;
void steeringMethod (core::SteeringMethodPtr_t sm)
{
Parent::steeringMethod (sm);
}
/// Build a new path validation /// Build a new path validation
/// \note Current obstacles are added to the created object. /// \note Current obstacles are added to the created object.
......
...@@ -279,7 +279,7 @@ namespace hpp { ...@@ -279,7 +279,7 @@ namespace hpp {
// Build steering method // Build steering method
const ProblemPtr_t& problem (g->problem()); const ProblemPtr_t& problem (g->problem());
steeringMethod_ = problem->steeringMethod()->innerSteeringMethod()->copy(); steeringMethod_ = problem->manipulationSteeringMethod()->innerSteeringMethod()->copy();
steeringMethod_->constraints (constraint); steeringMethod_->constraints (constraint);
// Build path validation and relative motion matrix // Build path validation and relative motion matrix
// TODO this path validation will not contain obstacles added after // TODO this path validation will not contain obstacles added after
......
...@@ -84,7 +84,7 @@ namespace hpp { ...@@ -84,7 +84,7 @@ namespace hpp {
return pv; return pv;
} }
SteeringMethodPtr_t Problem::steeringMethod () const SteeringMethodPtr_t Problem::manipulationSteeringMethod () const
{ {
return HPP_DYNAMIC_PTR_CAST (SteeringMethod, return HPP_DYNAMIC_PTR_CAST (SteeringMethod,
Parent::steeringMethod()); Parent::steeringMethod());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment