|
enum | BaseSimLatticeType : signed int {
BaseSimLatticeType::ARC_BG_BK = -3,
BaseSimLatticeType::LATTICE_ARC_EQ_DT = -2,
BaseSimLatticeType::LATTICE_ARC_EQ_DS = -1,
BaseSimLatticeType::LATTICE_ENUM_SIZE = 3,
BaseSimLatticeType::ARC_BG_BK = -3,
BaseSimLatticeType::LATTICE_ARC_EQ_DT = -2,
BaseSimLatticeType::LATTICE_ARC_EQ_DS = -1,
BaseSimLatticeType::LATTICE_ENUM_SIZE = 3
} |
| Fundamental lattice types. More...
|
|
enum | BaseSimLatticeType : signed int {
BaseSimLatticeType::ARC_BG_BK = -3,
BaseSimLatticeType::LATTICE_ARC_EQ_DT = -2,
BaseSimLatticeType::LATTICE_ARC_EQ_DS = -1,
BaseSimLatticeType::LATTICE_ENUM_SIZE = 3,
BaseSimLatticeType::ARC_BG_BK = -3,
BaseSimLatticeType::LATTICE_ARC_EQ_DT = -2,
BaseSimLatticeType::LATTICE_ARC_EQ_DS = -1,
BaseSimLatticeType::LATTICE_ENUM_SIZE = 3
} |
| Fundamental lattice types. More...
|
|
using | CostsEvaluatorClass = CostsEvaluatorBase< TrajectorySimulator::LatticeVec > |
|
using | CostsEvaluatorClass = CostsEvaluatorBase< TrajectorySimulator::LatticeVec > |
|
using | LatticeVec = std::vector< LatticePoint > |
|
using | LatticeVec = std::vector< LatticePoint > |
|
using | LatticeVecSPtr = std::shared_ptr< std::vector< LatticePoint > > |
|
using | LatticeVecSPtr = std::shared_ptr< std::vector< LatticePoint >> |
|
using | LatticeVecSPtrVec = std::vector< std::shared_ptr< std::vector< LatticePoint > > > |
|
using | LatticeVecSPtrVec = std::vector< std::shared_ptr< std::vector< LatticePoint >>> |
|
enum | SimMode { SimMode::ONLINE,
SimMode::PRECALC
} |
| Mode of the simulation. More...
|
|
using | StateForSimType = typename TSimType::StateForSimType |
|
using | StateSimSPtr = std::shared_ptr< TSimType > |
|
using | StateSPtr = std::shared_ptr< StateType > |
|
using | StateType = typename TSimType::StateType |
|
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...
|
|
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 constexpr const bool | CanComputeStateGrad |
|
static constexpr const std::size_t | extArcLatIdxBegin |
|
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...
|
|
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 bool | cmpLatticePt (const TrajectorySimulator::LatticePoint &a, const TrajectorySimulator::LatticePoint &b) |
|
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...
|
|