A class for storing extra information about the execution of CHolonomicFullEval navigation.
Definition at line 114 of file CHolonomicFullEval.h.
#include <mrpt/nav/holonomic/CHolonomicFullEval.h>
Public Member Functions | |
void * | operator new (size_t size) |
void * | operator new[] (size_t size) |
void | operator delete (void *ptr) throw () |
void | operator delete[] (void *ptr) throw () |
void | operator delete (void *memory, void *ptr) throw () |
void * | operator new (size_t size, const std::nothrow_t &) throw () |
void | operator delete (void *ptr, const std::nothrow_t &) throw () |
CLogFileRecord_FullEval () | |
const mrpt::math::CMatrixD * | getDirectionScores () const MRPT_OVERRIDE |
virtual mxArray * | writeToMatlab () const |
Introduces a pure virtual method responsible for writing to a mxArray Matlab object, typically a MATLAB struct whose contents are documented in each derived class. More... | |
mrpt::utils::CObjectPtr | duplicateGetSmartPtr () const |
Returns a copy of the object, indepently of its class, as a smart pointer (the newly created object will exist as long as any copy of this smart pointer). More... | |
CObject * | clone () const |
Cloning interface for smart pointers. More... | |
Static Public Member Functions | |
static void * | operator new (size_t size, void *ptr) |
Public Attributes | |
int32_t | selectedSector |
Member data. More... | |
double | evaluation |
mrpt::math::CMatrixD | dirs_scores |
Individual scores for each direction: (i,j), i (row) are directions, j (cols) are scores. Not all directions may have evaluations, in which case a "-1" value will be found. More... | |
int32_t | selectedTarget |
Normally = 0. Can be >0 if multiple targets passed simultaneously. More... | |
std::vector< std::vector< double > > | dirs_eval |
Final [N-1] and earlier stages [0...N-1] evaluation scores for each direction, in the same order of TP-Obstacles. May be not filled by all methods. More... | |
Static Public Attributes | |
static const mrpt::utils::TRuntimeClassId | classCObject |
RTTI stuff | |
static const mrpt::utils::TRuntimeClassId | classCHolonomicLogFileRecord |
RTTI stuff | |
static const mrpt::utils::TRuntimeClassId | classCSerializable |
Protected Member Functions | |
CSerializable virtual methods | |
void | writeToStream (mrpt::utils::CStream &out, int *getVersion) const |
Introduces a pure virtual method responsible for writing to a CStream. More... | |
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 be users, instead use "stream >> object;" for reading it from a stream or "stream >> object_ptr;" if the class is unknown apriori. More... | |
RTTI stuff | |
typedef CLogFileRecord_FullEvalPtr | Ptr |
typedef CLogFileRecord_FullEvalPtr | ConstPtr |
static mrpt::utils::CLASSINIT | _init_CLogFileRecord_FullEval |
static mrpt::utils::TRuntimeClassId | classCLogFileRecord_FullEval |
static const mrpt::utils::TRuntimeClassId * | classinfo |
static const mrpt::utils::TRuntimeClassId * | _GetBaseClass () |
virtual const mrpt::utils::TRuntimeClassId * | GetRuntimeClass () const |
Returns information about the class of an object in runtime. More... | |
virtual mrpt::utils::CObject * | duplicate () const |
Returns a copy of the object, indepently of its class. More... | |
static mrpt::utils::CObject * | CreateObject () |
static CLogFileRecord_FullEvalPtr | Create () |
typedef CLogFileRecord_FullEvalPtr mrpt::nav::CLogFileRecord_FullEval::ConstPtr |
Definition at line 116 of file CHolonomicFullEval.h.
typedef CLogFileRecord_FullEvalPtr mrpt::nav::CLogFileRecord_FullEval::Ptr |
A typedef for the associated smart pointer
Definition at line 116 of file CHolonomicFullEval.h.
CLogFileRecord_FullEval::CLogFileRecord_FullEval | ( | ) |
Definition at line 512 of file CHolonomicFullEval.cpp.
|
staticprotected |
|
inlineinherited |
|
static |
Referenced by mrpt::nav::CHolonomicFullEval::navigate().
|
static |
|
virtual |
Returns a copy of the object, indepently of its class.
Implements mrpt::utils::CObject.
|
inlineinherited |
Returns a copy of the object, indepently of its class, as a smart pointer (the newly created object will exist as long as any copy of this smart pointer).
Definition at line 140 of file CObject.h.
Referenced by mrpt::obs::CRawlog::addActions(), mrpt::slam::CIncrementalMapPartitioner::addMapFrame(), and mrpt::obs::CRawlog::addObservations().
|
inlinevirtual |
Reimplemented from mrpt::nav::CHolonomicLogFileRecord.
Definition at line 126 of file CHolonomicFullEval.h.
|
virtual |
Returns information about the class of an object in runtime.
Reimplemented from mrpt::nav::CHolonomicLogFileRecord.
Definition at line 116 of file CHolonomicFullEval.h.
|
inline |
Definition at line 116 of file CHolonomicFullEval.h.
|
inline |
Definition at line 116 of file CHolonomicFullEval.h.
Definition at line 116 of file CHolonomicFullEval.h.
|
inline |
Definition at line 116 of file CHolonomicFullEval.h.
|
inlinestatic |
Definition at line 116 of file CHolonomicFullEval.h.
|
inline |
Definition at line 116 of file CHolonomicFullEval.h.
|
inline |
Definition at line 116 of file CHolonomicFullEval.h.
|
protectedvirtual |
Introduces a pure virtual method responsible for loading from a CStream This can not be used directly be users, instead use "stream >> object;" for reading it from a stream or "stream >> object_ptr;" if the class is unknown apriori.
in | The input binary stream where the object data must read from. |
version | The version of the object stored in the stream: use this version number in your code to know how to read the incoming data. |
std::exception | On any error, see CStream::ReadBuffer |
Implements mrpt::utils::CSerializable.
Definition at line 533 of file CHolonomicFullEval.cpp.
References mrpt::nav::CHolonomicLogFileRecord::dirs_eval, dirs_scores, evaluation, MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION, selectedSector, selectedTarget, and version.
|
inlinevirtualinherited |
Introduces a pure virtual method responsible for writing to a mxArray
Matlab object, typically a MATLAB struct
whose contents are documented in each derived class.
mxArray
(caller is responsible of memory freeing) or NULL is class does not support conversion to MATLAB. Definition at line 79 of file CSerializable.h.
|
protectedvirtual |
Introduces a pure virtual method responsible for writing to a CStream.
This can not be used directly be users, instead use "stream << object;" for writing it to a stream.
out | The output binary stream where object must be dumped. |
getVersion | If NULL, the object must be dumped. If not, only the version of the object dump must be returned in this pointer. This enables the versioning of objects dumping and backward compatibility with previously stored data. |
std::exception | On any error, see CStream::WriteBuffer |
Implements mrpt::utils::CSerializable.
Definition at line 520 of file CHolonomicFullEval.cpp.
References mrpt::nav::CHolonomicLogFileRecord::dirs_eval, dirs_scores, evaluation, selectedSector, selectedTarget, and version.
|
staticprotected |
Definition at line 116 of file CHolonomicFullEval.h.
|
staticinherited |
Definition at line 32 of file CHolonomicLogFileRecord.h.
|
static |
Definition at line 116 of file CHolonomicFullEval.h.
|
staticinherited |
|
staticinherited |
Definition at line 42 of file CSerializable.h.
|
static |
Definition at line 116 of file CHolonomicFullEval.h.
|
inherited |
Final [N-1] and earlier stages [0...N-1] evaluation scores for each direction, in the same order of TP-Obstacles. May be not filled by all methods.
Definition at line 34 of file CHolonomicLogFileRecord.h.
Referenced by readFromStream(), and writeToStream().
mrpt::math::CMatrixD mrpt::nav::CLogFileRecord_FullEval::dirs_scores |
Individual scores for each direction: (i,j), i (row) are directions, j (cols) are scores. Not all directions may have evaluations, in which case a "-1" value will be found.
Definition at line 123 of file CHolonomicFullEval.h.
Referenced by readFromStream(), and writeToStream().
double mrpt::nav::CLogFileRecord_FullEval::evaluation |
Definition at line 122 of file CHolonomicFullEval.h.
Referenced by readFromStream(), and writeToStream().
int32_t mrpt::nav::CLogFileRecord_FullEval::selectedSector |
Member data.
Definition at line 121 of file CHolonomicFullEval.h.
Referenced by readFromStream(), and writeToStream().
int32_t mrpt::nav::CLogFileRecord_FullEval::selectedTarget |
Normally = 0. Can be >0 if multiple targets passed simultaneously.
Definition at line 124 of file CHolonomicFullEval.h.
Referenced by readFromStream(), and writeToStream().
Page generated by Doxygen 1.8.14 for MRPT 1.5.6 Git: 4c65e8431 Tue Apr 24 08:18:17 2018 +0200 at lun oct 28 01:35:26 CET 2019 |