46 for(
auto& par: *participantSet )
52 auto point = par.center_;
67 object.setEntranceTime(par.observation_time_);
74 double ds = (ctheta*cpsi+stheta*spsi) * par.vx_
75 + (-ctheta*spsi+stheta*cpsi) * par.vy_;
76 object.setObservationTime(par.observation_time_);
77 object.setEntranceSpeed(ds);
78 object.setCurrentSpeed(ds);
79 object.setCurrentProgress(s);
80 object.setCurrentAcceleration(0.0);
81 object.setExitProgress(1.0e5);
82 object.setExitTime(par.observation_time_+1.0e5);
83 object.setTrackingID(par.trackingID_);
84 object.setV2XStationID(par.v2xStationID_);
85 object.setLength(par.length_);
90 {return a.getCurrentProgress()
91 <b.getCurrentProgress();});
Definition: trafficqueueonalane.h:30
const adore::view::TrafficQueue & getQueue() const
Definition: trafficqueueonalane.h:34
adore::view::TrafficQueue queue_
Definition: trafficqueueonalane.h:32
void mapVehicles(adore::view::ALane *lane, adore::env::traffic::TParticipantSet *participantSet)
Map traffic unto lane.
Definition: trafficqueueonalane.h:41
virtual void toRelativeCoordinates(double xe, double ye, double &s, double &n)=0
virtual double getOffsetOfRightBorder(double s)=0
virtual bool isValid() const =0
virtual double getOffsetOfLeftBorder(double s)=0
virtual double getHeading(double s)=0
std::vector< Participant > TParticipantSet
Definition: participant.h:164
interval< T > cos(interval< T > x)
Definition: intervalarithmetic.h:225
interval< T > sin(interval< T > x)
Definition: intervalarithmetic.h:204
std::vector< TrafficObject > TrafficQueue
Definition: trafficobject.h:183
Definition: areaofeffectconverter.h:20
Definition: trafficobject.h:27
void setEntranceProgress(double value)
Definition: trafficobject.h:150