19 #ifndef HPP_CORE_STRAIGHT_PATH_HH 20 # define HPP_CORE_STRAIGHT_PATH_HH 22 # include <hpp/pinocchio/liegroup-element.hh> 61 ptr =
new StraightPath (space, init, end, interval, constraints);
79 assert (init.space() == end.space());
80 return create (init.space(), init.vector(), end.vector(), interval, constraints);
93 return create (device, init, end,
interval_t (0, length), constraints);
137 return createCopy (weak_.lock ());
146 return createCopy (weak_.lock (), constraints);
155 assert (initial.size () == initial_.size ());
165 assert (end.size () == end_.size ());
183 virtual std::ostream& print (std::ostream &os)
const;
202 parent_t::init (
self);
226 StraightPathWkPtr_t weak_;
236 #endif // HPP_CORE_STRAIGHT_PATH_HH boost::shared_ptr< Path > PathPtr_t
Definition: fwd.hh:170
pinocchio::DevicePtr_t DevicePtr_t
Definition: fwd.hh:114
pinocchio::ConfigurationIn_t ConfigurationIn_t
Definition: fwd.hh:97
void init(StraightPathPtr_t self)
Definition: straight-path.hh:200
Configuration_t initial_
Definition: straight-path.hh:223
Definition: basic-configuration-shooter.hh:26
boost::shared_ptr< ConstraintSet > ConstraintSetPtr_t
Definition: fwd.hh:110
std::pair< value_type, value_type > interval_t
Definition: fwd.hh:158
virtual void checkPath() const
Should be called by child classes after having init.
pinocchio::ConfigurationOut_t ConfigurationOut_t
Definition: fwd.hh:98
pinocchio::size_type size_type
Definition: fwd.hh:156
void endConfig(ConfigurationIn_t end)
Definition: straight-path.hh:163
virtual PathPtr_t copy() const
Definition: straight-path.hh:135
static StraightPathPtr_t createCopy(const StraightPathPtr_t &path)
Definition: straight-path.hh:109
static StraightPathPtr_t create(LiegroupSpacePtr_t space, vectorIn_t init, vectorIn_t end, interval_t interval, ConstraintSetPtr_t constraints=ConstraintSetPtr_t())
Definition: straight-path.hh:53
Path parent_t
Definition: straight-path.hh:45
void initialConfig(ConfigurationIn_t initial)
Definition: straight-path.hh:153
Configuration_t end() const
Get the final configuration.
Definition: straight-path.hh:176
boost::shared_ptr< StraightPath > StraightPathPtr_t
Definition: fwd.hh:182
Configuration_t initial() const
Get the initial configuration.
Definition: straight-path.hh:170
pinocchio::vectorIn_t vectorIn_t
Definition: fwd.hh:202
constraints::LiegroupSpacePtr_t LiegroupSpacePtr_t
Definition: fwd.hh:155
pinocchio::LiegroupElementConstRef LiegroupElementConstRef
Definition: fwd.hh:153
virtual ~StraightPath()
Destructor.
Definition: straight-path.hh:47
pinocchio::value_type value_type
Definition: fwd.hh:157
Configuration_t end_
Definition: straight-path.hh:224
Definition: straight-path.hh:42
static StraightPathPtr_t create(LiegroupElementConstRef init, LiegroupElementConstRef end, interval_t interval, ConstraintSetPtr_t constraints=ConstraintSetPtr_t())
Definition: straight-path.hh:74
LiegroupSpacePtr_t space_
Definition: straight-path.hh:222
pinocchio::vectorOut_t vectorOut_t
Definition: fwd.hh:203
virtual PathPtr_t copy(const ConstraintSetPtr_t &constraints) const
Definition: straight-path.hh:144
static StraightPathPtr_t create(const DevicePtr_t &device, ConfigurationIn_t init, ConfigurationIn_t end, value_type length, ConstraintSetPtr_t constraints=ConstraintSetPtr_t())
Definition: straight-path.hh:87
#define HPP_CORE_DLLAPI
Definition: config.hh:64
pinocchio::Configuration_t Configuration_t
Definition: fwd.hh:96
StraightPath()
Definition: straight-path.hh:229