31         const int WN = 25, WV = 30;
    34         cfg.
write(sSection,
"K",K,   WN,WV, 
"K=+1 forward paths; K=-1 for backwards paths.");
    93                 double R = (
x*
x+
y*
y)/(2*
y);
    94                 const double Rmin = std::abs(V_MAX/W_MAX);
   101                                         theta = atan2( (
double)
x,fabs(
R)-
y );
   102                         else    theta = atan2( (
double)
x,
y+fabs(
R) );
   107                                         theta = atan2( -(
double)
x,fabs(
R)-
y );
   108                         else    theta = atan2( -(
double)
x,
y+fabs(
R) );
   115                 d_out = (float)(theta * (fabs(
R)+turningRadiusReference));
   117                 if (std::abs(
R)<Rmin)
   124                 const double a = 
M_PI* V_MAX / (W_MAX*
R);
   125                 k_out = alpha2index( (
float)
a );
   132                         k_out = alpha2index(0);
   138                         k_out = m_alphaValuesCount-1;
   145         d_out = d_out / refDistance;
 GLclampf GLclampf GLclampf alpha
 
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL. 
 
void writeToStream(mrpt::utils::CStream &out, int *getVersion) const
Introduces a pure virtual method responsible for writing to a CStream. 
 
This namespace provides a OS-independent interface to many useful functions: filenames manipulation...
 
#define IMPLEMENTS_SERIALIZABLE(class_name, base, NameSpace)
This must be inserted in all CSerializable classes implementation files. 
 
bool PTG_IsIntoDomain(double x, double y) const MRPT_OVERRIDE
Returns the same than inverseMap_WS2TP() but without any additional cost. 
 
#define MRPT_LOAD_CONFIG_VAR_NO_DEFAULT(variableName, variableType, configFileObject, sectionNameStr)
 
#define ASSERT_BELOW_(__A, __B)
 
int sign(T x)
Returns the sign of X as "1" or "-1". 
 
GLubyte GLubyte GLubyte GLubyte w
 
This class allows loading and storing values and vectors of different types from a configuration text...
 
void internal_readFromStream(mrpt::utils::CStream &in) MRPT_OVERRIDE
 
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
 
This is the base class for any user-defined PTG. 
 
#define MRPT_UNUSED_PARAM(a)
Can be used to avoid "not used parameters" warnings from the compiler. 
 
#define MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION(__V)
For use in CSerializable implementations. 
 
bool inverseMap_WS2TP(double x, double y, int &out_k, double &out_d, double tolerance_dist=0.10) const MRPT_OVERRIDE
The default implementation in this class relies on a look-up-table. 
 
virtual void loadFromConfigFile(const mrpt::utils::CConfigFileBase &cfg, const std::string &sSection) MRPT_OVERRIDE
Possible values in "params" (those in CParameterizedTrajectoryGenerator, which is called internally...
 
virtual void saveToConfigFile(mrpt::utils::CConfigFileBase &cfg, const std::string &sSection) const MRPT_OVERRIDE
This method saves the options to a ".ini"-like file or memory-stored string list. ...
 
std::string BASE_IMPEXP format(const char *fmt,...) MRPT_printf_format_check(1
A std::string version of C sprintf. 
 
GLsizei const GLchar ** string
 
int sign(T x)
Returns the sign of X as "1" or "-1". 
 
void wrapTo2PiInPlace(T &a)
Modifies the given angle to translate it into the [0,2pi[ range. 
 
void loadDefaultParams() MRPT_OVERRIDE
Loads a set of default parameters; provided exclusively for the PTG-configurator tool. 
 
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. 
 
#define ASSERT_ABOVEEQ_(__A, __B)
 
void write(const std::string §ion, const std::string &name, const data_t &value, const int name_padding_width=-1, const int value_padding_width=-1, const std::string &comment=std::string())
 
std::string getDescription() const MRPT_OVERRIDE
Gets a short textual description of the PTG and its parameters. 
 
virtual void saveToConfigFile(mrpt::utils::CConfigFileBase &cfg, const std::string &sSection) const MRPT_OVERRIDE
This method saves the options to a ".ini"-like file or memory-stored string list. ...
 
void internal_writeToStream(mrpt::utils::CStream &out) const MRPT_OVERRIDE
 
virtual void loadDefaultParams() MRPT_OVERRIDE
Loads a set of default parameters; provided exclusively for the PTG-configurator tool. 
 
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
 
void readFromStream(mrpt::utils::CStream &in, int version)
Introduces a pure virtual method responsible for loading from a CStream This can not be used directly...
 
A PTG for circular paths ("C" type PTG in papers). 
 
GLubyte GLubyte GLubyte a
 
void ptgDiffDriveSteeringFunction(float alpha, float t, float x, float y, float phi, float &v, float &w) const MRPT_OVERRIDE
The main method to be implemented in derived classes: it defines the differential-driven differential...