MRPT  1.9.9
mrpt::nav::CParameterizedTrajectoryGenerator::TNavDynamicState Struct Reference

Detailed Description

Dynamic state that may affect the PTG path parameterization.

nav_reactive

Definition at line 169 of file CParameterizedTrajectoryGenerator.h.

#include <mrpt/nav/tpspace/CParameterizedTrajectoryGenerator.h>

Public Member Functions

 TNavDynamicState ()=default
 
bool operator== (const TNavDynamicState &o) const
 
bool operator!= (const TNavDynamicState &o) const
 
void writeToStream (mrpt::serialization::CArchive &out) const
 
void readFromStream (mrpt::serialization::CArchive &in)
 

Public Attributes

mrpt::math::TTwist2D curVelLocal {0, 0, 0}
 Current vehicle velocity (local frame of reference) More...
 
mrpt::math::TPose2D relTarget {20.0, .0, .0}
 Current relative target location. More...
 
double targetRelSpeed {0}
 Desired relative speed [0,1] at target. More...
 

Constructor & Destructor Documentation

◆ TNavDynamicState()

mrpt::nav::CParameterizedTrajectoryGenerator::TNavDynamicState::TNavDynamicState ( )
default

Member Function Documentation

◆ operator!=()

bool mrpt::nav::CParameterizedTrajectoryGenerator::TNavDynamicState::operator!= ( const TNavDynamicState o) const
inline

Definition at line 180 of file CParameterizedTrajectoryGenerator.h.

◆ operator==()

bool CParameterizedTrajectoryGenerator::TNavDynamicState::operator== ( const TNavDynamicState o) const

Definition at line 609 of file CParameterizedTrajectoryGenerator.cpp.

References curVelLocal, relTarget, and targetRelSpeed.

◆ readFromStream()

void mrpt::nav::CParameterizedTrajectoryGenerator::TNavDynamicState::readFromStream ( mrpt::serialization::CArchive in)

Definition at line 626 of file CParameterizedTrajectoryGenerator.cpp.

References MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION.

Referenced by mrpt::nav::CLogFileRecord::serializeFrom().

Here is the caller graph for this function:

◆ writeToStream()

void mrpt::nav::CParameterizedTrajectoryGenerator::TNavDynamicState::writeToStream ( mrpt::serialization::CArchive out) const

Definition at line 617 of file CParameterizedTrajectoryGenerator.cpp.

Referenced by mrpt::nav::CLogFileRecord::serializeTo().

Here is the caller graph for this function:

Member Data Documentation

◆ curVelLocal

◆ relTarget

◆ targetRelSpeed




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: abb8b1a1e Fri Oct 18 14:19:12 2019 +0200 at vie oct 18 14:20:13 CEST 2019