7 #ifndef ISEEML_ROB_CURV_CONFIG_HH
8 #define ISEEML_ROB_CURV_CONFIG_HH
12 #include <iSeeML/rob/OrPtConfig.hpp>
71 const double& kappa) :
86 const double& theta,
const double& kappa) :
143 #ifdef ISEEML_CHECK_CURV_CONFIG_PRECOND
144 else if ((i < 1) || (i > 3)) {
145 cerr <<
ClassName <<
"::coord: parameter " << i << endl
146 <<
" outside allowed values (1 to 4),"
147 <<
" returning zero..." << endl;
161 #endif // end of definition
virtual void algWriteTo(ostream &O) const
Description method for algebraic vectors, writing this vector in a given output stream: coordinates f...
Definition: Object.hpp:166
double algCoord(const int i) const
Description method, giving the coordinate of given index of the configuration (both coordinates of th...
Definition: CurvConfig.hpp:141
This class defines a more precise configuration than classical ones for mobile robots.
Definition: CurvConfig.hpp:30
CurvConfig()
The default constructor should only be used for array initializations: it correspond to a default ori...
Definition: CurvConfig.hpp:51
This class defines a standard robotic configuration, containing the position of a reference point and...
Definition: OrPtConfig.hpp:45
CurvConfig(const double &x, const double &y, const double &theta, const double &kappa)
A second detailled constructor allows to give the classical configuration as two Cartesian coordinate...
Definition: CurvConfig.hpp:85
const double & curvature() const
Description method, giving the intantaneous curvature, in this configuration, of the curve followed b...
Definition: CurvConfig.hpp:110
int algDimension() const
Description method, giving the dimension of the containing space (4) when this configuration is consi...
Definition: CurvConfig.hpp:124
iSeeML::Object & clone() const
Description method, giving a copy of the current object.
Definition: CurvConfig.hpp:95
This class is the base class of ISeeML: every class of ISeeML inherits this one.
Definition: Object.hpp:47
static const string ClassName
The class name is public, as this class can be instanced.
Definition: CurvConfig.hpp:40
CurvConfig(const iSeeML::geom::Point &P, const double &theta, const double &kappa)
A first detailled constructor allows to give the classical configuration as a point and an orientatio...
Definition: CurvConfig.hpp:70
This class defines 2D geometric points, defined by their Cartesian coordinates.
Definition: Point.hpp:29
double algCoord(const int i) const
Description method, giving the coordinate of given index of the configuration (both coordinates of th...
Definition: OrPtConfig.hpp:202
CurvConfig(const iSeeML::rob::OrPtConfig &OrPt, const double &kappa)
The main constructor.
Definition: CurvConfig.hpp:58
void writeTo(ostream &O) const
Description method, writing a description of the object into a given output stream.
Definition: CurvConfig.hpp:100