#include <trajectory_simulator.h>
Classes | |
struct | LatticePoint |
Structure containing an evaluation arc and a state pointer. More... | |
struct | LatticePointType |
Structure containing the lattice type afferent to a. More... | |
Public Member Functions | |
const double & | ds () const |
Const reference to arc parametrization interval used for the equal distance lattice. More... | |
const TNumType & | ds () const |
Const reference to arc parametrization interval used for the equal distance lattice. More... | |
double & | dsBase () |
Reference to arc parametrization interval used for the equal distance lattice. More... | |
TNumType & | dsBase () |
Reference to arc parametrization interval used for the equal distance lattice. More... | |
const double & | dt () const |
Const reference to arc parametrization interval used for the equal arc-length lattice. More... | |
const TNumType & | dt () const |
Const reference to arc parametrization interval used for the equal arc-length lattice. More... | |
double & | dtBase () |
Reference to arc parametrization interval used for the equal arc-length lattice. More... | |
TNumType & | dtBase () |
Reference to arc parametrization interval used for the equal arc-length lattice. More... | |
TrajectorySimulator & | operator= (const TrajectorySimulator &)=default |
TrajectorySimulator & | operator= (TrajectorySimulator &&)=default |
TrajectorySimulator & | operator= (const TrajectorySimulator &)=default |
TrajectorySimulator & | operator= (TrajectorySimulator &&)=default |
void | setBoolDsScale (const bool &_doScale) |
void | setBoolDsScale (const bool &_doScale) |
void | setBoolDtScale (const bool &_doScale) |
void | setBoolDtScale (const bool &_doScale) |
void | setUserDefLattice (const std::vector< std::vector< double * > > &_userDefLattices) |
void | setUserDefLattice (const std::vector< std::vector< TNumType * >> &_userDefLattices) |
std::vector< LatticePointType > & | simLattice () |
Reference to the lattice that requested each simulated trajectory state. More... | |
const std::vector< LatticePointType > & | simLattice () const |
Const reference to the lattice that requested each simulated trajectory state. More... | |
LatticePointType & | simLatticeI (const size_t &_i) |
const LatticePointType & | simLatticeI (const size_t &_i) const |
size_t | simLatticeSize () const |
virtual void | simulateTrajectory (double _lastValidArc=0)=0 |
Simulates (discrete numerical evaluation) an entire trajectory according to the specified intervals and lattices. More... | |
void | simulateTrajectory (TNumType _lastValidArc=0) |
template<bool canComputeStateGrad = CanComputeStateGrad, typename std::enable_if<(canComputeStateGrad)>::type * = nullptr> | |
void | simulateTrajectoryWithGrad (TNumType _lastValidArc=0) |
StateSimPtr | stateSim () |
Reference of the state simulator object. More... | |
const StateSimPtr | stateSim () const |
Const reference of the state simulator object. More... | |
StateSimSPtr & | stateSim () |
Reference of the state simulator object. More... | |
const StateSimSPtr & | stateSim () const |
Const reference of the state simulator object. More... | |
TrajectorySimulator (StateSimPtr _stateSim) | |
TrajectorySimulator (StateSimPtr _stateSim, std::unique_ptr< CostsEvaluatorClass > _costsEvaluator) | |
TrajectorySimulator (const TrajectorySimulator &)=default | |
TrajectorySimulator (StateSimSPtr &_stateSim) | |
TrajectorySimulator (TrajectorySimulator &&)=default | |
TrajectorySimulator (StateSimSPtr &_stateSim, std::unique_ptr< CostsEvaluatorClass > _costsEvaluator) | |
TrajectorySimulator (const TrajectorySimulator &)=default | |
TrajectorySimulator (TrajectorySimulator &&)=default | |
void | updateUserDefLattice () |
void | updateUserDefLattice () |
virtual | ~TrajectorySimulator ()=default |
virtual | ~TrajectorySimulator ()=default |
Static Public Member Functions | |
static size_t | lattTypeIdx (int _enumIdx) |
Converts shifted (int) lattice index to container (size_t) index. More... | |
static size_t | lattTypeIdx (int _enumIdx) |
Converts shifted (int) lattice index to container (size_t) index. More... | |
Public Attributes | |
std::unique_ptr< CostsEvaluatorClass > | costsEvaluator_ |
LatticeVecSPtrVec | partLattices_ |
Vector containing the ordered sequence of arc parametrizations for each of the used lattices. More... | |
bool | simulatingWithGrad |
Simulates (discrete numerical evaluation) an entire trajectory according to the specified intervals and lattices. More... | |
std::vector< LatticePointType > | simulationLattice_ |
Lattice requesting each simulated trajectory state. More... | |
Static Public Attributes | |
static constexpr const bool | CanComputeStateGrad |
static constexpr const std::size_t | extArcLatIdxBegin |
Protected Member Functions | |
void | appendToPartLat (const double &_arcNow, const int &_latticePtType, const std::size_t &_minArcLatCacheIdx) |
Appends the new arc and state pointer to the afferent partial lattice point. More... | |
void | appendToPartLat (const TNumType &_arcNow, const int &_latticePtType, const std::size_t &_minArcLatCacheIdx) |
Appends the new arc and state pointer to the afferent partial lattice point. More... | |
void | computeScaleDtDs () |
void | computeScaleDtDs () |
void | initExtLatticeCache (const double &_minArcLatticeVal) |
Initializes the cached partial lattices index at the highest arc lower than. More... | |
void | initExtLatticeCache (const TNumType &_minArcLatticeVal) |
Initializes the cached partial lattices index at the highest arc lower than. More... | |
bool | initSimLatticeState0 (const double &_lastValidArc, size_t &_firstLaticeInvalidIdx) |
Initializes the simulation lattice (truncation from the. More... | |
bool | initSimLatticeState0 (const TNumType &_lastValidArc, size_t &_firstLaticeInvalidIdx) |
Initializes the simulation lattice (truncation from the. More... | |
bool | isEmptyAllExtLattices () const |
Returns true if all extended lattices are empty (the DS lattice as well as user-defined lattices). More... | |
bool | isEmptyAllExtLattices () const |
Returns true if all extended lattices are empty (the DS lattice as well as user-defined lattices). More... | |
virtual void | populatePartSimLatticesDtOnly (const size_t &_firstLaticeInvalidIdx, double _arcParamMax) |
Performs simulation and populates simulation and partial lattice when only equal dt lattice is enabled. More... | |
void | populatePartSimLatticesDtOnly (const size_t &_firstLaticeInvalidIdx, TNumType _arcParamMax) |
Performs simulation and populates simulation and partial lattice when only equal dt lattice is enabled. More... | |
virtual void | populatePartSimLatticesGeneral (size_t _firstLaticeInvalidIdx, double _arcParamMax, double _minArcLatticeVal)=0 |
Performs simulation and populates simulation and partial lattices in the general case of various enabled lattices. More... | |
void | populatePartSimLatticesGeneral (size_t _firstLaticeInvalidIdx, TNumType _arcParamMax, TNumType _minArcLatticeVal) |
Performs simulation and populates simulation and partial lattices in the general case of various enabled lattices. More... | |
void | populateTrajSimPartLattice (const size_t &_firstLaticeInvalidIdx) |
Main function that performs resizing, reserving and calls the proper population function. More... | |
void | populateTrajSimPartLattice (const size_t &_firstLaticeInvalidIdx) |
Main function that performs resizing, reserving and calls the proper population function. More... | |
void | setBeginEndArcsToLattices (const double &_arcBegin, const double &_arcEnd) |
Sets begin and end arcs to all partial lattices on the first and last container positions. More... | |
void | setBeginEndArcsToLattices (const TNumType &_arcBegin, const TNumType &_arcEnd) |
Sets begin and end arcs to all partial lattices on the first and last container positions. More... | |
void | setBeginStateToLattices (const double &_arcBegin) |
Binds reference to the initial simulated state (at. More... | |
void | setBeginStateToLattices (const TNumType &_arcBegin) |
Binds reference to the initial simulated state (at. More... | |
void | setEndStateToLattices (const double &_arcEnd) |
Binds reference to the final simulated state (at. More... | |
void | setEndStateToLattices (const TNumType &_arcEnd) |
Binds reference to the final simulated state (at. More... | |
void | simAppendToSimPartLat (const double &_arcNow, const int &_latticePtType, const std::size_t &_minArcLatCacheIdx) |
Performs a simulation step (if. More... | |
void | simAppendToSimPartLat (const TNumType &_arcNow, const int &_latticePtType, const std::size_t &_minArcLatCacheIdx) |
Performs a simulation step (if. More... | |
Static Protected Member Functions | |
static bool | cmpLatticePt (const TrajectorySimulator::LatticePoint &a, const TrajectorySimulator::LatticePoint &b) |
Protected Attributes | |
bool | canComputeDistLattice_ |
Flags if the StateSim object has access to the StateSimDist functionality. More... | |
std::vector< int > | partLatIdxCache_ |
Vector containing cached container indices for each partial lattice related to the the highest arc lower than the current evaluated arc. More... | |
bool | scaleDs_ |
bool | scaleDt_ |
StateSimPtr | stateSim_ |
State simulator object. More... | |
StateSimSPtr | stateSim_ |
State simulator object. More... | |
Private Types | |
using | AdvanceFunction = void(TrajectorySimulator< TNumType, TSimType >::*)(const TNumType &) |
Private Member Functions | |
void | advanceFuncSim (const TNumType &_arcNow) |
template<bool canComputeStateGrad = CanComputeStateGrad, typename std::enable_if<(canComputeStateGrad)>::type * = nullptr> | |
void | advanceFuncSimGrad (const TNumType &_arcNow) |
auto & | dtIdpCf (const size_t _i, const TNumType &_arcNow, const int &_latticePtType) const |
auto & | dtIdpNm (const size_t _i, const TNumType &_arcNow, const int &_latticePtType) const |
size_t | getMinArcLatCacheIdx () const |
void | simulateTrajectoryImpl (TNumType _lastValidArc) |
Static Private Member Functions | |
template<typename TSimState , typename TState , bool canComputeStateGrad = CanComputeStateGrad, typename std::enable_if<(!canComputeStateGrad)>::type * = nullptr> | |
static void | copyDataFromSimStateToState (const TSimState &_simState, TState &_state) |
template<typename TSimState , typename TState , bool canComputeStateGrad = CanComputeStateGrad, typename std::enable_if<(canComputeStateGrad)>::type * = nullptr> | |
static void | copyDataFromSimStateToState (const TSimState &_simState, TState &_state) |
template<typename TSimState , typename TState , bool canComputeStateGrad = CanComputeStateGrad, typename std::enable_if<(!canComputeStateGrad)>::type * = nullptr> | |
static void | copyDataFromStateToSimState (const TState &_state, TSimState &_simState) |
template<typename TSimState , typename TState , bool canComputeStateGrad = CanComputeStateGrad, typename std::enable_if<(canComputeStateGrad)>::type * = nullptr> | |
static void | copyDataFromStateToSimState (const TState &_state, TSimState &_simState) |
template<typename TSimState , typename TState , bool canComputeStateGrad = CanComputeStateGrad, typename std::enable_if<(!canComputeStateGrad)>::type * = nullptr> | |
static void | copyStructureFromSimStateToState (const TSimState &_simState, TState &_state) |
template<typename TSimState , typename TState , bool canComputeStateGrad = CanComputeStateGrad, typename std::enable_if<(canComputeStateGrad)>::type * = nullptr> | |
static void | copyStructureFromSimStateToState (const TSimState &_simState, TState &_state) |
Private Attributes | |
AdvanceFunction | advanceFunc |
double | ds_ |
Arc parametrization interval used for the equal distance lattice. More... | |
TNumType | ds_ |
Arc parametrization interval used for the equal distance lattice. More... | |
double | dsBase_ |
TNumType | dsBase_ |
double | dt_ |
Arc parametrization interval used for the equal arc-length lattice. More... | |
TNumType | dt_ |
Arc parametrization interval used for the equal arc-length lattice. More... | |
double | dtBase_ |
TNumType | dtBase_ |
bool | firstTime_ |
size_t | simAppendIdx_ |
size_t | simulationLatticeActiveSize_ |
std::vector< std::vector< double * > > | userDefPartLattices_ |
std::vector< std::vector< TNumType * > > | userDefPartLattices_ |
Friends | |
class | TrajectorySimGrade |
Definition at line 51 of file trajectory_simulator.h.
|
private |
Definition at line 426 of file trajectory_simulator.hpp.
using tuw::TrajectorySimulator< TNumType, TSimType >::CostsEvaluatorClass = CostsEvaluatorBase<TrajectorySimulator::LatticeVec> |
Definition at line 118 of file trajectory_simulator.h.
using tuw::TrajectorySimulator< TNumType, TSimType >::CostsEvaluatorClass = CostsEvaluatorBase<TrajectorySimulator::LatticeVec> |
Definition at line 127 of file trajectory_simulator.hpp.
using tuw::TrajectorySimulator< TNumType, TSimType >::LatticeVec = std::vector<LatticePoint> |
Definition at line 96 of file trajectory_simulator.h.
using tuw::TrajectorySimulator< TNumType, TSimType >::LatticeVec = std::vector<LatticePoint> |
Definition at line 105 of file trajectory_simulator.hpp.
using tuw::TrajectorySimulator< TNumType, TSimType >::LatticeVecSPtr = std::shared_ptr<std::vector<LatticePoint> > |
Definition at line 97 of file trajectory_simulator.h.
using tuw::TrajectorySimulator< TNumType, TSimType >::LatticeVecSPtr = std::shared_ptr<std::vector<LatticePoint>> |
Definition at line 106 of file trajectory_simulator.hpp.
using tuw::TrajectorySimulator< TNumType, TSimType >::LatticeVecSPtrVec = std::vector<std::shared_ptr<std::vector<LatticePoint> > > |
Definition at line 98 of file trajectory_simulator.h.
using tuw::TrajectorySimulator< TNumType, TSimType >::LatticeVecSPtrVec = std::vector<std::shared_ptr<std::vector<LatticePoint>>> |
Definition at line 107 of file trajectory_simulator.hpp.
using tuw::TrajectorySimulator< TNumType, TSimType >::StateForSimType = typename TSimType::StateForSimType |
Definition at line 64 of file trajectory_simulator.hpp.
using tuw::TrajectorySimulator< TNumType, TSimType >::StateSimSPtr = std::shared_ptr<TSimType> |
Definition at line 55 of file trajectory_simulator.hpp.
using tuw::TrajectorySimulator< TNumType, TSimType >::StateSPtr = std::shared_ptr<StateType> |
Definition at line 61 of file trajectory_simulator.hpp.
using tuw::TrajectorySimulator< TNumType, TSimType >::StateType = typename TSimType::StateType |
Definition at line 58 of file trajectory_simulator.hpp.
|
strong |
Fundamental lattice types.
Definition at line 66 of file trajectory_simulator.h.
|
strong |
Fundamental lattice types.
Definition at line 73 of file trajectory_simulator.hpp.
|
strong |
Mode of the simulation.
Definition at line 56 of file trajectory_simulator.h.
TrajectorySimulator::TrajectorySimulator | ( | StateSimPtr | _stateSim | ) |
Definition at line 45 of file trajectory_simulator.cpp.
tuw::TrajectorySimulator< TNumType, TSimType >::TrajectorySimulator | ( | StateSimPtr | _stateSim, |
std::unique_ptr< CostsEvaluatorClass > | _costsEvaluator | ||
) |
|
virtualdefault |
|
default |
|
default |
|
inline |
Definition at line 131 of file trajectory_simulator.hpp.
|
inline |
Definition at line 150 of file trajectory_simulator.hpp.
|
virtualdefault |
|
default |
|
default |
|
inlineprivate |
Definition at line 430 of file trajectory_simulator.hpp.
|
inlineprivate |
Definition at line 438 of file trajectory_simulator.hpp.
|
protected |
Appends the new arc and state pointer to the afferent partial lattice point.
Definition at line 113 of file trajectory_simulator.cpp.
|
inlineprotected |
Appends the new arc and state pointer to the afferent partial lattice point.
Definition at line 636 of file trajectory_simulator.hpp.
|
inlinestaticprotected |
Definition at line 686 of file trajectory_simulator.hpp.
|
protected |
Definition at line 288 of file trajectory_simulator.cpp.
|
inlineprotected |
Definition at line 837 of file trajectory_simulator.hpp.
|
inlinestaticprivate |
Definition at line 472 of file trajectory_simulator.hpp.
|
inlinestaticprivate |
Definition at line 481 of file trajectory_simulator.hpp.
|
inlinestaticprivate |
Definition at line 512 of file trajectory_simulator.hpp.
|
inlinestaticprivate |
Definition at line 521 of file trajectory_simulator.hpp.
|
inlinestaticprivate |
Definition at line 492 of file trajectory_simulator.hpp.
|
inlinestaticprivate |
Definition at line 501 of file trajectory_simulator.hpp.
const double & TrajectorySimulator::ds | ( | ) | const |
Const reference to arc parametrization interval used for the equal distance lattice.
Definition at line 325 of file trajectory_simulator.cpp.
|
inline |
Const reference to arc parametrization interval used for the equal distance lattice.
Definition at line 204 of file trajectory_simulator.hpp.
double & TrajectorySimulator::dsBase | ( | ) |
Reference to arc parametrization interval used for the equal distance lattice.
Definition at line 321 of file trajectory_simulator.cpp.
|
inline |
Reference to arc parametrization interval used for the equal distance lattice.
Definition at line 198 of file trajectory_simulator.hpp.
const double & TrajectorySimulator::dt | ( | ) | const |
Const reference to arc parametrization interval used for the equal arc-length lattice.
Definition at line 317 of file trajectory_simulator.cpp.
|
inline |
Const reference to arc parametrization interval used for the equal arc-length lattice.
Definition at line 192 of file trajectory_simulator.hpp.
double & TrajectorySimulator::dtBase | ( | ) |
Reference to arc parametrization interval used for the equal arc-length lattice.
Definition at line 313 of file trajectory_simulator.cpp.
|
inline |
Reference to arc parametrization interval used for the equal arc-length lattice.
Definition at line 186 of file trajectory_simulator.hpp.
|
inlineprivate |
Definition at line 457 of file trajectory_simulator.hpp.
|
inlineprivate |
Definition at line 444 of file trajectory_simulator.hpp.
|
inlineprivate |
Definition at line 406 of file trajectory_simulator.hpp.
|
protected |
Initializes the cached partial lattices index at the highest arc lower than.
_minArcLatticeVal. |
Definition at line 190 of file trajectory_simulator.cpp.
|
inlineprotected |
Initializes the cached partial lattices index at the highest arc lower than.
_minArcLatticeVal. |
Definition at line 719 of file trajectory_simulator.hpp.
|
protected |
Initializes the simulation lattice (truncation from the.
_firstLaticeInvalidIdx) | and sets the state simulator inital state (at |
_lastValidArc). |
Definition at line 164 of file trajectory_simulator.cpp.
|
inlineprotected |
Initializes the simulation lattice (truncation from the.
_firstLaticeInvalidIdx) | and sets the state simulator inital state (at |
_lastValidArc). |
Definition at line 694 of file trajectory_simulator.hpp.
|
protected |
Returns true if all extended lattices are empty (the DS lattice as well as user-defined lattices).
Definition at line 274 of file trajectory_simulator.cpp.
|
inlineprotected |
Returns true if all extended lattices are empty (the DS lattice as well as user-defined lattices).
Definition at line 816 of file trajectory_simulator.hpp.
|
static |
Converts shifted (int) lattice index to container (size_t) index.
BaseSimLatticeType. |
Definition at line 269 of file trajectory_simulator.cpp.
|
inlinestatic |
Converts shifted (int) lattice index to container (size_t) index.
BaseSimLatticeType. |
Definition at line 831 of file trajectory_simulator.hpp.
|
default |
|
default |
|
default |
|
default |
|
protectedvirtual |
Performs simulation and populates simulation and partial lattice when only equal dt lattice is enabled.
Reimplemented in tuw::TrajectorySimulatorOnline.
Definition at line 254 of file trajectory_simulator.cpp.
|
inlineprotected |
Performs simulation and populates simulation and partial lattice when only equal dt lattice is enabled.
Definition at line 348 of file trajectory_simulator.hpp.
|
protectedpure virtual |
Performs simulation and populates simulation and partial lattices in the general case of various enabled lattices.
Implemented in tuw::TrajectorySimulatorPrecalc.
|
inlineprotected |
Performs simulation and populates simulation and partial lattices in the general case of various enabled lattices.
Definition at line 365 of file trajectory_simulator.hpp.
|
protected |
Main function that performs resizing, reserving and calls the proper population function.
Definition at line 212 of file trajectory_simulator.cpp.
|
inlineprotected |
Main function that performs resizing, reserving and calls the proper population function.
Definition at line 742 of file trajectory_simulator.hpp.
|
protected |
Sets begin and end arcs to all partial lattices on the first and last container positions.
Definition at line 147 of file trajectory_simulator.cpp.
|
inlineprotected |
Sets begin and end arcs to all partial lattices on the first and last container positions.
Definition at line 674 of file trajectory_simulator.hpp.
|
protected |
Binds reference to the initial simulated state (at.
_arcBegin) | to all partial lattices. |
Definition at line 121 of file trajectory_simulator.cpp.
|
inlineprotected |
Binds reference to the initial simulated state (at.
_arcBegin) | to all partial lattices. |
Definition at line 644 of file trajectory_simulator.hpp.
void TrajectorySimulator::setBoolDsScale | ( | const bool & | _doScale | ) |
Definition at line 308 of file trajectory_simulator.cpp.
|
inline |
Definition at line 179 of file trajectory_simulator.hpp.
void TrajectorySimulator::setBoolDtScale | ( | const bool & | _doScale | ) |
Definition at line 304 of file trajectory_simulator.cpp.
|
inline |
Definition at line 173 of file trajectory_simulator.hpp.
|
protected |
Binds reference to the final simulated state (at.
_arcEnd) | to all partial lattices. |
Definition at line 133 of file trajectory_simulator.cpp.
|
inlineprotected |
Binds reference to the final simulated state (at.
_arcEnd) | to all partial lattices. |
Definition at line 657 of file trajectory_simulator.hpp.
void tuw::TrajectorySimulator< TNumType, TSimType >::setUserDefLattice | ( | const std::vector< std::vector< double * > > & | _userDefLattices | ) |
|
inline |
Definition at line 222 of file trajectory_simulator.hpp.
|
protected |
Performs a simulation step (if.
_arcNow | is different than last simulated arc) and appends the new arc and state pointer to the afferent partial lattice point. |
Definition at line 102 of file trajectory_simulator.cpp.
|
inlineprotected |
Performs a simulation step (if.
_arcNow | is different than last simulated arc) and appends the new arc and state pointer to the afferent partial lattice point. |
Definition at line 532 of file trajectory_simulator.hpp.
vector< TrajectorySimulator::LatticePointType > & TrajectorySimulator::simLattice | ( | ) |
Reference to the lattice that requested each simulated trajectory state.
Definition at line 337 of file trajectory_simulator.cpp.
const vector< TrajectorySimulator::LatticePointType > & TrajectorySimulator::simLattice | ( | ) | const |
Const reference to the lattice that requested each simulated trajectory state.
Definition at line 341 of file trajectory_simulator.cpp.
|
inline |
Definition at line 854 of file trajectory_simulator.hpp.
|
inline |
Definition at line 860 of file trajectory_simulator.hpp.
|
inline |
Definition at line 866 of file trajectory_simulator.hpp.
|
pure virtual |
Simulates (discrete numerical evaluation) an entire trajectory according to the specified intervals and lattices.
_lastValidArc | Specifies the last arc at which the previous simulation was still valid. Setting it non-zero is beneficial if already computed (in memory) trajStates() are guaranteed to not have changed. Thus, it allows the function to simulate only portions of the entire arc parametrization domain. |
Implemented in tuw::TrajectorySimulatorOnline, and tuw::TrajectorySimulatorPrecalc.
|
inline |
Definition at line 266 of file trajectory_simulator.hpp.
|
inlineprivate |
Definition at line 284 of file trajectory_simulator.hpp.
|
inline |
Definition at line 276 of file trajectory_simulator.hpp.
StateSimPtr TrajectorySimulator::stateSim | ( | ) |
Reference of the state simulator object.
Definition at line 329 of file trajectory_simulator.cpp.
const StateSimPtr TrajectorySimulator::stateSim | ( | ) | const |
Const reference of the state simulator object.
Definition at line 333 of file trajectory_simulator.cpp.
|
inline |
Reference of the state simulator object.
Definition at line 210 of file trajectory_simulator.hpp.
|
inline |
Const reference of the state simulator object.
Definition at line 216 of file trajectory_simulator.hpp.
void TrajectorySimulator::updateUserDefLattice | ( | ) |
Definition at line 90 of file trajectory_simulator.cpp.
|
inline |
Definition at line 243 of file trajectory_simulator.hpp.
|
friend |
Definition at line 278 of file trajectory_simulator.h.
|
private |
Definition at line 427 of file trajectory_simulator.hpp.
|
protected |
Flags if the StateSim object has access to the StateSimDist functionality.
Definition at line 252 of file trajectory_simulator.h.
|
static |
Definition at line 67 of file trajectory_simulator.hpp.
std::unique_ptr< CostsEvaluatorClass > tuw::TrajectorySimulator< TNumType, TSimType >::costsEvaluator_ |
Definition at line 276 of file trajectory_simulator.h.
|
private |
Arc parametrization interval used for the equal distance lattice.
Definition at line 258 of file trajectory_simulator.h.
|
private |
Arc parametrization interval used for the equal distance lattice.
Definition at line 895 of file trajectory_simulator.hpp.
|
private |
Definition at line 264 of file trajectory_simulator.h.
|
private |
Definition at line 901 of file trajectory_simulator.hpp.
|
private |
Arc parametrization interval used for the equal arc-length lattice.
Definition at line 255 of file trajectory_simulator.h.
|
private |
Arc parametrization interval used for the equal arc-length lattice.
Definition at line 892 of file trajectory_simulator.hpp.
|
private |
Definition at line 261 of file trajectory_simulator.h.
|
private |
Definition at line 898 of file trajectory_simulator.hpp.
|
static |
Definition at line 73 of file trajectory_simulator.h.
|
private |
Definition at line 916 of file trajectory_simulator.hpp.
|
protected |
Vector containing cached container indices for each partial lattice related to the the highest arc lower than the current evaluated arc.
Definition at line 249 of file trajectory_simulator.h.
LatticeVecSPtrVec tuw::TrajectorySimulator< TNumType, TSimType >::partLattices_ |
Vector containing the ordered sequence of arc parametrizations for each of the used lattices.
Definition at line 245 of file trajectory_simulator.h.
|
protected |
Definition at line 270 of file trajectory_simulator.h.
|
protected |
Definition at line 267 of file trajectory_simulator.h.
|
private |
Definition at line 913 of file trajectory_simulator.hpp.
bool tuw::TrajectorySimulator< TNumType, TSimType >::simulatingWithGrad |
Simulates (discrete numerical evaluation) an entire trajectory according to the specified intervals and lattices.
_lastValidArc | Specifies the last arc at which the previous simulation was still valid. Setting it non-zero is beneficial if already computed (in memory) trajStates() are guaranteed to not have changed. Thus, it allows the function to simulate only portions of the entire arc parametrization domain. |
Definition at line 263 of file trajectory_simulator.hpp.
std::vector< LatticePointType > tuw::TrajectorySimulator< TNumType, TSimType >::simulationLattice_ |
Lattice requesting each simulated trajectory state.
Definition at line 242 of file trajectory_simulator.h.
|
private |
Definition at line 879 of file trajectory_simulator.hpp.
|
protected |
State simulator object.
Definition at line 239 of file trajectory_simulator.h.
|
protected |
State simulator object.
Definition at line 873 of file trajectory_simulator.hpp.
|
private |
Definition at line 273 of file trajectory_simulator.h.
|
private |
Definition at line 910 of file trajectory_simulator.hpp.