Go to the documentation of this file.
43 Path(
const Configuration &_start,
const Configuration &_end,
double _kappa,
double _sigma,
double _length);
73 class CC_Dubins_Path :
public Path
78 double _sigma, Configuration *_qi1, Configuration *_qi2, Configuration *_qi3, Configuration *_qi4,
173 std::vector<Control> &controls);
177 std::vector<Control> &controls);
void rs_turn_controls(const HC_CC_Circle &c, const Configuration &q, bool order, std::vector< Control > &controls)
Appends controls with a rs-turn.
double length
Path length.
Description of a kinematic car's state.
hc_cc_rs::path_type type
Path type.
HC_CC_Circle * cstart
Start, end and intermediate circles.
void empty_controls(std::vector< Control > &controls)
Appends controls with 0 input.
const int nb_cc_dubins_paths
double kappa
Max. curvature (unsigned), max. sharpness (unsigned)
~CC_Dubins_Path()
Destructor.
void print(bool eol) const
Alphanumeric display.
Description of a path segment with its corresponding control inputs.
bool state_equal(const State &state1, const State &state2)
Checks whether two states are equal.
HC_CC_RS_Path(const Configuration &_start, const Configuration &_end, hc_cc_rs::path_type _type, double _kappa, double _sigma, Configuration *_qi1, Configuration *_qi2, Configuration *_qi3, Configuration *_qi4, HC_CC_Circle *_cstart, HC_CC_Circle *_cend, HC_CC_Circle *_ci1, HC_CC_Circle *_ci2, double _length)
Constructor.
Path(const Configuration &_start, const Configuration &_end, double _kappa, double _sigma, double _length)
Constructor.
CC_Dubins_Path(const Configuration &_start, const Configuration &_end, cc_dubins::path_type _type, double _kappa, double _sigma, Configuration *_qi1, Configuration *_qi2, Configuration *_qi3, Configuration *_qi4, HC_CC_Circle *_cstart, HC_CC_Circle *_cend, HC_CC_Circle *_ci1, HC_CC_Circle *_ci2, double _length)
Constructor.
void hc_turn_controls(const HC_CC_Circle &c, const Configuration &q, bool order, std::vector< Control > &controls)
Appends controls with a hc-turn.
void reverse_control(Control &control)
Reverses a control.
Configuration * qi1
Intermediate configurations.
void straight_controls(const Configuration &q1, const Configuration &q2, std::vector< Control > &controls)
Appends controls with a straight line.
void cc_default_controls(const HC_CC_Circle &c, const Configuration &q, double delta, bool order, std::vector< Control > &controls)
Appends controls with a default cc-turn consisting of two clothoids and a circular arc.
bool cc_elementary_controls(const HC_CC_Circle &c, const Configuration &q, double delta, bool order, std::vector< Control > &controls)
Appends controls with an elementary path if one exists.
const int nb_hc_cc_rs_paths
~HC_CC_RS_Path()
Destructor.
Configuration * qi1
Intermediate configurations.
HC_CC_Circle * cstart
Start, end and intermediate circles.
void cc_turn_controls(const HC_CC_Circle &c, const Configuration &q, bool order, std::vector< Control > &controls)
Appends controls with a cc-turn.
cc_dubins::path_type type
Path type.
void print(bool eol) const
Alphanumeric display.
Control subtract_control(const Control &control1, const Control &control2)
Subtracts control2 from control1.
Configuration start
Start and end configuration.