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

Enrich API of EndEffectorTrajectory steeringMethod

parent 160dcc1a
No related branches found
No related tags found
No related merge requests found
...@@ -49,6 +49,11 @@ namespace hpp { ...@@ -49,6 +49,11 @@ namespace hpp {
/// Set the constraint whose right hand side will vary. /// Set the constraint whose right hand side will vary.
void trajectoryConstraint (const constraints::ImplicitPtr_t& ic); void trajectoryConstraint (const constraints::ImplicitPtr_t& ic);
const constraints::ImplicitPtr_t& trajectoryConstraint ()
{
return constraint_;
}
/// Set the right hand side of the function from a path /// Set the right hand side of the function from a path
/// \param se3Output set to True if the output of path must be /// \param se3Output set to True if the output of path must be
/// understood as SE3. /// understood as SE3.
...@@ -64,6 +69,11 @@ namespace hpp { ...@@ -64,6 +69,11 @@ namespace hpp {
return eeTraj_; return eeTraj_;
} }
const interval_t& timeRange () const
{
return timeRange_;
}
core::SteeringMethodPtr_t copy () const core::SteeringMethodPtr_t copy () const
{ {
EndEffectorTrajectoryPtr_t ptr (new EndEffectorTrajectory (*this)); EndEffectorTrajectoryPtr_t ptr (new EndEffectorTrajectory (*this));
......
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