19 #ifndef HPP_MANIPULATION_PATH_PLANNER_END_EFFECTOR_TRAJECTORY_HH 20 # define HPP_MANIPULATION_PATH_PLANNER_END_EFFECTOR_TRAJECTORY_HH 22 # include <hpp/manipulation/config.hh> 25 # include <pinocchio/spatial/se3.hpp> 27 # include <hpp/pinocchio/frame.hh> 28 # include <hpp/core/path-planner.hh> 31 namespace manipulation {
32 namespace pathPlanner {
40 return impl_solve (target);
44 virtual Configurations_t impl_solve (
vectorIn_t target) = 0;
60 static EndEffectorTrajectoryPtr_t createWithRoadmap
66 virtual void startSolve ();
69 virtual void oneStep ();
74 {
return nRandomConfig_; }
84 {
return nDiscreteSteps_; }
94 void checkFeasibilityOnly (
bool enable);
98 return feasibilityOnly_;
103 ikSolverInit_ = solver;
106 void tryConnectInitAndGoals ();
117 void init (
const EndEffectorTrajectoryWkPtr_t& weak);
123 EndEffectorTrajectoryWkPtr_t weak_;
129 IkSolverInitializationPtr_t ikSolverInit_;
131 bool feasibilityOnly_;
137 #endif // HPP_MANIPULATION_PATH_PLANNER_END_EFFECTOR_TRAJECTORY_HH
boost::shared_ptr< IkSolverInitialization > IkSolverInitializationPtr_t
Definition: end-effector-trajectory.hh:46
core::vectorIn_t vectorIn_t
Definition: fwd.hh:83
boost::shared_ptr< EndEffectorTrajectory > EndEffectorTrajectoryPtr_t
Definition: end-effector-trajectory.hh:49
Definition: end-effector-trajectory.hh:51
Configurations_t solve(vectorIn_t target)
Definition: end-effector-trajectory.hh:38
assert(d.lhs()._blocks()==d.rhs()._blocks())
void nDiscreteSteps(int n)
Definition: end-effector-trajectory.hh:86
int nDiscreteSteps() const
Number of steps to generate goal config (successive projections).
Definition: end-effector-trajectory.hh:83
void init(const ConfigurationShooterWkPtr_t &weak)
Definition: end-effector-trajectory.hh:33
const Problem & problem() const
int nRandomConfig() const
Definition: end-effector-trajectory.hh:73
static GradientBasedPtr_t create(const Problem &problem)
bool checkFeasibilityOnly() const
Definition: end-effector-trajectory.hh:96
HPP_PREDEF_CLASS(EndEffectorTrajectory)
boost::shared_ptr< Roadmap > RoadmapPtr_t
void nRandomConfig(int n)
Definition: end-effector-trajectory.hh:76
std::vector< Configuration_t > Configurations_t
Definition: end-effector-trajectory.hh:36
void ikSolverInitialization(IkSolverInitializationPtr_t solver)
Definition: end-effector-trajectory.hh:101
pinocchio::Configuration_t Configuration_t