31 #ifndef _OMCOLLISIONCOSTPREDICTION_H_ 32 #define _OMCOLLISIONCOSTPREDICTION_H_ 35 #include "../config/PropertySource.h" 36 #include "../action/ActionModel.h" 54 virtual void computeObservation(
double* state,
double* velocity,
const MatNd* currentAction,
double dt)
const;
56 virtual void getLimits(
double* minState,
double* maxState,
double* maxVelocity)
const;
85 #endif //_OMCOLLISIONCOSTPREDICTION_H_ RcsGraph * realGraph
Graph to observe (not owned)
ActionModel * predictActionModel
Action model copy for prediction.
virtual unsigned int getVelocityDim() const
#define RCSPYSIM_NOCOPY_NOMOVE(cls)
std::vector< std::string > getStateNames() const override
virtual unsigned int getStateDim() const
virtual void getLimits(double *minState, double *maxState, double *maxVelocity) const
virtual ~OMCollisionCostPrediction()
RcsGraph * predictGraph
Graph copy for prediction.
size_t horizon
Time horizon for the predicted collision costs (horizon = 1 mean the current step plus one step ahead...
OMCollisionCostPrediction(RcsGraph *graph, RcsCollisionMdl *collisionMdl, const ActionModel *actionModel, size_t horizon=10, double maxCollCost=1e4)
virtual void computeObservation(double *state, double *velocity, const MatNd *currentAction, double dt) const
RcsCollisionMdl * collisionMdl
Rcs collision model.