43 TrajectorySimGrade::TrajectorySimGrade(
StateSimPtr& _stateSim)
50 unique_ptr<TrajectorySimulator::CostsEvaluatorClass> _costsEvaluator)
58 double dt = -1, ds = -1;
59 std::vector<TrajectorySimulator::LatticePointType> simulationLattice;
67 simulationLattice =
trajSim_->simLattice();
68 partLattices =
trajSim_->partLattices_;
83 trajSim_->simLattice() = simulationLattice;
84 trajSim_->partLattices_ = partLattices;
120 trajSim_->stateSim()->paramFuncs()->precompute();
121 trajSim_->simulateTrajectory(_arcBegin);
void setSimMode(const TrajectorySimulator::SimMode &_simMode)
void evaluateTrajectory(const double &_arcBegin=0)
TrajectorySimGrade(StateSimPtr &_stateSim)
const TrajectorySimulator::SimMode & simMode() const
Helper function needed to upgrade c++ 2011.
TrajectorySimulatorSPtr & trajSim()
void initCostsEvaluator()
SimMode
Mode of the simulation.
std::shared_ptr< TrajectorySimulator > TrajectorySimulatorSPtr
std::vector< std::shared_ptr< std::vector< LatticePoint > > > LatticeVecSPtrVec
std::shared_ptr< StateSim > StateSimPtr
std::vector< std::vector< double * > > userPartLattices_
TrajectorySimulatorSPtr trajSim_
TrajectorySimulator::SimMode simMode_
StateSimSPtr stateSim_
State simulator object.