37 virtual void rate(
GapData& gap,
double s_ego,
double ds_ego)
override
81 for(
int i=0;i<=queue.size();i++)
Definition: lanechangegaps.h:27
virtual void rate(GapData &gap, double s_ego, double ds_ego)=0
Definition: lanechangegaps.h:35
virtual void rate(GapData &gap, double s_ego, double ds_ego) override
Definition: lanechangegaps.h:37
Definition: lanechangegaps.h:49
AGapRating * gaprating_
Definition: lanechangegaps.h:54
double anchor_offset_
Definition: lanechangegaps.h:53
~LaneChangeGaps()
Definition: lanechangegaps.h:61
LaneChangeGaps(adore::view::ALaneChangeView *lcv)
Definition: lanechangegaps.h:56
void setGapRating(AGapRating *gaprating)
Definition: lanechangegaps.h:69
adore::view::ALaneChangeView * lcv_
Definition: lanechangegaps.h:52
GapQueue & getData()
Definition: lanechangegaps.h:65
GapQueue data_
Definition: lanechangegaps.h:51
void computeGaps(const adore::view::TrafficQueue &queue, const adore::env::VehicleMotionState9d &ego)
Definition: lanechangegaps.h:74
Definition: alanechangeview.h:27
virtual double getProgressOfGateOpen() const =0
virtual double getOffsetOfDestinationOuterBorder(double s)=0
virtual ALane * getTargetLane()=0
virtual double getProgressOfGateClosed() const =0
virtual double getOffsetOfSeparatingBorder(double s)=0
virtual ALane * getSourceLane()=0
virtual void toRelativeCoordinates(double xe, double ye, double &s, double &n)=0
virtual void toEucledianCoordinates(double s, double n, double &xe, double &ye, double &ze)=0
virtual bool isValid() const =0
virtual double getHeading(double s)=0
std::vector< GapData > GapQueue
Definition: gapdata.h:53
interval< T > cos(interval< T > x)
Definition: intervalarithmetic.h:225
T bound(T lb, T value, T ub)
Definition: adoremath.h:569
interval< T > sin(interval< T > x)
Definition: intervalarithmetic.h:204
std::vector< TrafficObject > TrafficQueue
Definition: trafficobject.h:183
Definition: areaofeffectconverter.h:20
double v_lead
Definition: gapdata.h:43
bool lead_exists
Definition: gapdata.h:39
double anchor_dY
Definition: gapdata.h:35
double s_lead
Definition: gapdata.h:41
bool chase_exists
Definition: gapdata.h:40
double s_gate_opening
Definition: gapdata.h:46
double anchor_Z
Definition: gapdata.h:33
double anchor_X
Definition: gapdata.h:31
bool feasible
Definition: gapdata.h:30
double v_chase
Definition: gapdata.h:44
double anchor_dX
Definition: gapdata.h:34
double anchor_Y
Definition: gapdata.h:32
double rating
Definition: gapdata.h:29
double anchor_vt
Definition: gapdata.h:37
double t_obs
Definition: gapdata.h:38
double s_chase
Definition: gapdata.h:42
double s_anchor
Definition: gapdata.h:45
double s_gate_closure
Definition: gapdata.h:47
This struct holds the motion state of the vehicle in 9d.
Definition: vehiclemotionstate9d.h:39
double getX() const
Get the x-coordinate.
Definition: vehiclemotionstate9d.h:54
double getvx() const
Get the longitudinal velocity.
Definition: vehiclemotionstate9d.h:78
double getY() const
Get the y-coordinate.
Definition: vehiclemotionstate9d.h:60
double getTime() const
Get the time.
Definition: vehiclemotionstate9d.h:48
Definition: trafficobject.h:27
double getCurrentSpeed() const
Definition: trafficobject.h:69
double getLength() const
Definition: trafficobject.h:118
double getCurrentProgress() const
Definition: trafficobject.h:62
double getObservationTime() const
Definition: trafficobject.h:125