59 if(prediction.occupancy_.collidesWith(space))
66 if(prediction.occupancy_.collidesWith(space))
80 if(prediction.occupancy_.collidesWith(space))
87 if(prediction.occupancy_.collidesWith(space))
99 double min_value = guard;
103 if(prediction.occupancy_.getEarliestCollisionTime(space,min_value,value))
105 min_value =
std::min(value,min_value);
110 if(prediction.occupancy_.getEarliestCollisionTime(space,min_value,value))
112 min_value =
std::min(value,min_value);
abstract factory for adore::env communication
Definition: afactory.h:41
Definition: decoupledtrafficpredictionview.h:24
OccupancyCylinderPredictionSet emergency_predictions_
Definition: decoupledtrafficpredictionview.h:30
virtual double getExpectedCollisionTime(const adore::mad::OccupancyCylinderTree &space, double guard) const override
Definition: decoupledtrafficpredictionview.h:97
virtual bool overlapsExpectedBehavior(const adore::mad::OccupancyCylinderTree &space) const override
Definition: decoupledtrafficpredictionview.h:55
DecoupledTrafficPredictionView(AFactory *factory=EnvFactoryInstance::get())
Definition: decoupledtrafficpredictionview.h:34
AFactory::TOCPredictionSetReader * expectedReader_
Definition: decoupledtrafficpredictionview.h:26
AFactory::TOCPredictionSetReader * emergencyReader_
Definition: decoupledtrafficpredictionview.h:27
OccupancyCylinderPredictionSet expected_predictions_
Definition: decoupledtrafficpredictionview.h:29
OccupancyCylinderPredictionSet static_obstacles_
Definition: decoupledtrafficpredictionview.h:31
AFactory::TOCPredictionSetReader * staticObstaclesReader_
Definition: decoupledtrafficpredictionview.h:28
virtual bool overlapsEmergencyBehavior(const adore::mad::OccupancyCylinderTree &space) const override
Definition: decoupledtrafficpredictionview.h:76
void update()
Definition: decoupledtrafficpredictionview.h:43
static adore::env::AFactory * get()
Definition: afactory.h:236
Definition: com_patterns.h:68
virtual void getData(T &value)=0
Definition: occupancycylinder.h:84
Definition: atrafficpredictionview.h:27
std::vector< OccupancyCylinderPrediction > OccupancyCylinderPredictionSet
Definition: occupancycylinderprediction.h:40
T min(T a, T b, T c, T d)
Definition: adoremath.h:663
Definition: areaofeffectconverter.h:20