30 #ifndef HPP_CORE_DUBINS_PATH_HH
31 #define HPP_CORE_DUBINS_PATH_HH
36 #include <hpp/pinocchio/device.hh>
76 const std::vector<JointPtr_t> wheels);
91 const std::vector<JointPtr_t> wheels,
136 virtual std::ostream&
print(std::ostream& os)
const {
137 os <<
"DubinsPath:" << std::endl;
139 os <<
"initial configuration: " << initial_.transpose() << std::endl;
140 os <<
"final configuration: " << end_.transpose() << std::endl;
147 const std::vector<JointPtr_t> wheels);
153 const std::vector<JointPtr_t> wheels,
168 void dubins_init_normalised(
double alpha,
double beta,
double d);
170 typedef Eigen::Matrix<value_type, 3, 1> Lengths_t;
177 std::vector<JointPtr_t> wheels_;
183 DubinsPathWkPtr_t weak_;
Definition: dubins-path.hh:56
virtual PathPtr_t copy(const ConstraintSetPtr_t &constraints) const
Definition: dubins-path.hh:121
void init(DubinsPathPtr_t self)
DevicePtr_t device() const
Return the internal robot.
Definition: dubins-path.hh:126
virtual ~DubinsPath()
Destructor.
Definition: dubins-path.hh:61
Configuration_t initial() const
Get the initial configuration.
Definition: dubins-path.hh:129
DubinsPath(const DevicePtr_t &robot, ConfigurationIn_t init, ConfigurationIn_t end, value_type extraLength, value_type rho, size_type xyId, size_type rzId, const std::vector< JointPtr_t > wheels)
Constructor.
DubinsPath(const DubinsPath &path)
Copy constructor.
Configuration_t end() const
Get the final configuration.
Definition: dubins-path.hh:132
core::PathVector parent_t
Definition: dubins-path.hh:58
virtual PathPtr_t copy() const
Return a shared pointer to a copy of this object.
Definition: dubins-path.hh:115
static DubinsPathPtr_t create(const DevicePtr_t &device, ConfigurationIn_t init, ConfigurationIn_t end, value_type extraLength, value_type rho, size_type xyId, size_type rzId, const std::vector< JointPtr_t > wheels, ConstraintSetPtr_t constraints)
static DubinsPathPtr_t createCopy(const DubinsPathPtr_t &path)
Definition: dubins-path.hh:96
virtual std::ostream & print(std::ostream &os) const
Print path in a stream.
Definition: dubins-path.hh:136
DubinsPath(const DevicePtr_t &robot, ConfigurationIn_t init, ConfigurationIn_t end, value_type extraLength, value_type rho, size_type xyId, size_type rzId, const std::vector< JointPtr_t > wheels, ConstraintSetPtr_t constraints)
Constructor with constraints.
static DubinsPathPtr_t createCopy(const DubinsPathPtr_t &path, const ConstraintSetPtr_t &constraints)
Definition: dubins-path.hh:106
DubinsPath(const DubinsPath &path, const ConstraintSetPtr_t &constraints)
Copy constructor with constraints.
DubinsPath()
For serialization only.
Definition: dubins-path.hh:165
static DubinsPathPtr_t create(const DevicePtr_t &device, ConfigurationIn_t init, ConfigurationIn_t end, value_type extraLength, value_type rho, size_type xyId, size_type rzId, const std::vector< JointPtr_t > wheels)
Concatenation of several paths.
Definition: path-vector.hh:43
virtual std::ostream & print(std::ostream &os) const
const ConstraintSetPtr_t & constraints() const
Get constraints the path is subject to.
Definition: path.hh:204
pinocchio::value_type value_type
Definition: fwd.hh:174
pinocchio::vector3_t vector3_t
Definition: fwd.hh:165
shared_ptr< DubinsPath > DubinsPathPtr_t
Definition: fwd.hh:204
pinocchio::ConfigurationIn_t ConfigurationIn_t
Definition: fwd.hh:108
pinocchio::size_type size_type
Definition: fwd.hh:173
pinocchio::Configuration_t Configuration_t
Definition: fwd.hh:107
pinocchio::DevicePtr_t DevicePtr_t
Definition: fwd.hh:134
shared_ptr< ConstraintSet > ConstraintSetPtr_t
Definition: fwd.hh:130
shared_ptr< Path > PathPtr_t
Definition: fwd.hh:187
Definition: bi-rrt-planner.hh:35