A class for storing, saving and loading a reactive navigation log record for the CReactiveNavigationSystem class.
- See also
- CReactiveNavigationSystem, CHolonomicLogFileRecord
Definition at line 30 of file CLogFileRecord.h.
#include <mrpt/nav/reactive/CLogFileRecord.h>
|
struct | TInfoPerPTG |
| The structure used to store all relevant information about each transformation into TP-Space. More...
|
|
◆ SmartPtr
A typedef for the associated smart pointer
Definition at line 32 of file CLogFileRecord.h.
◆ CLogFileRecord()
mrpt::nav::CLogFileRecord::CLogFileRecord |
( |
| ) |
|
Constructor, builds an empty record.
◆ ~CLogFileRecord()
virtual mrpt::nav::CLogFileRecord::~CLogFileRecord |
( |
| ) |
|
|
virtual |
Destructor, free all objects.
◆ _GetBaseClass()
◆ clone()
CObject* mrpt::utils::CObject::clone |
( |
| ) |
const |
|
inlineinherited |
Cloning interface for smart pointers.
Definition at line 139 of file CObject.h.
◆ Create()
static CLogFileRecordPtr mrpt::nav::CLogFileRecord::Create |
( |
| ) |
|
|
static |
◆ CreateObject()
◆ duplicate()
◆ duplicateGetSmartPtr()
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 136 of file CObject.h.
◆ freeInfoPerPTGs()
void mrpt::nav::CLogFileRecord::freeInfoPerPTGs |
( |
| ) |
|
|
private |
Free all objects in infoPerPTGs structures (used internally).
◆ GetRuntimeClass()
◆ operator delete() [1/3]
void mrpt::nav::CLogFileRecord::operator delete |
( |
void * |
memory, |
|
|
void * |
ptr |
|
) |
| |
throw | ( | |
| ) | | |
|
inline |
◆ operator delete() [2/3]
void mrpt::nav::CLogFileRecord::operator delete |
( |
void * |
ptr | ) |
|
throw | ( | |
| ) | | |
|
inline |
◆ operator delete() [3/3]
void mrpt::nav::CLogFileRecord::operator delete |
( |
void * |
ptr, |
|
|
const std::nothrow_t & |
|
|
) |
| |
throw | ( | |
| ) | | |
|
inline |
◆ operator delete[]()
void mrpt::nav::CLogFileRecord::operator delete[] |
( |
void * |
ptr | ) |
|
throw | ( | |
| ) | | |
|
inline |
◆ operator new() [1/3]
void* mrpt::nav::CLogFileRecord::operator new |
( |
size_t |
size | ) |
|
|
inline |
◆ operator new() [2/3]
void* mrpt::nav::CLogFileRecord::operator new |
( |
size_t |
size, |
|
|
const std::nothrow_t & |
|
|
) |
| |
throw | ( | |
| ) | | |
|
inline |
◆ operator new() [3/3]
static void* mrpt::nav::CLogFileRecord::operator new |
( |
size_t |
size, |
|
|
void * |
ptr |
|
) |
| |
|
inlinestatic |
◆ operator new[]()
void* mrpt::nav::CLogFileRecord::operator new[] |
( |
size_t |
size | ) |
|
|
inline |
◆ operator=()
◆ readFromStream()
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.
- Parameters
-
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. |
- Exceptions
-
std::exception | On any error, see CStream::ReadBuffer |
- See also
- CStream
Implements mrpt::utils::CSerializable.
◆ writeToMatlab()
virtual mxArray* mrpt::utils::CSerializable::writeToMatlab |
( |
| ) |
const |
|
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.
- Returns
- A new
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.
◆ writeToStream()
void mrpt::nav::CLogFileRecord::writeToStream |
( |
mrpt::utils::CStream & |
out, |
|
|
int * |
getVersion |
|
) |
| const |
|
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.
- Parameters
-
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. |
- Exceptions
-
std::exception | On any error, see CStream::WriteBuffer |
- See also
- CStream
Implements mrpt::utils::CSerializable.
◆ _init_CLogFileRecord
◆ actual_v
float mrpt::nav::CLogFileRecord::actual_v |
◆ actual_w
float mrpt::nav::CLogFileRecord::actual_w |
The actual robot velocities, as read from sensors, in "m/sec" and "rad/sec".
Definition at line 73 of file CLogFileRecord.h.
◆ classCLogFileRecord
◆ classCObject
◆ classCSerializable
◆ classinfo
◆ estimatedExecutionPeriod
float mrpt::nav::CLogFileRecord::estimatedExecutionPeriod |
◆ executionTime
float mrpt::nav::CLogFileRecord::executionTime |
The total computation time, excluding sensing.
Definition at line 66 of file CLogFileRecord.h.
◆ infoPerPTG
The info for each applied PTG: must contain "nPTGs * nSecDistances" elements.
Definition at line 63 of file CLogFileRecord.h.
◆ navigatorBehavior
int32_t mrpt::nav::CLogFileRecord::navigatorBehavior |
◆ nPTGs
uint32_t mrpt::nav::CLogFileRecord::nPTGs |
◆ nSelectedPTG
int32_t mrpt::nav::CLogFileRecord::nSelectedPTG |
◆ robotOdometryPose
The robot pose (from raw odometry or a localization system).
Definition at line 69 of file CLogFileRecord.h.
◆ robotShape_x
◆ robotShape_y
◆ timestamp
The timestamp of when this log was processed by the reactive algorithm (It can be INVALID_TIMESTAMP for navigation logs in MRPT <0.9.5)
Definition at line 58 of file CLogFileRecord.h.
float mrpt::nav::CLogFileRecord::v |
float mrpt::nav::CLogFileRecord::w |
The final motion command sent to robot, in "m/sec" and "rad/sec".
Definition at line 72 of file CLogFileRecord.h.
◆ WS_Obstacles
◆ WS_target_relative
The relative location of target point in WS.
Definition at line 70 of file CLogFileRecord.h.