SimDriver
0.1
|
#include <Interface.h>
Public Attributes | |
unsigned int | id |
Unique ID of the target. id=0 indicates that the target is not defined in the array position. | |
double | ds |
Distance along s to the target center point from the ego driver position. (in m) | |
Position | xy |
Relative position of the target relative to the driver position and heading. | |
double | v |
Absolute velocity of the target. (in m/s) | |
double | a |
Absolute acceleration of the target. (in m/s^2) | |
double | d |
Lateral offset of the target in its corresponding lane. (in m) | |
double | psi |
Relative yaw angle of the target vehicle to the ego yaw angle. (in rad) | |
int | lane |
Lane ID of the actual lane of the target relative to driver's lane. | |
Dimensions | size |
Width and length of the target. | |
double | dsIntersection |
Distance along s to the intersection (if target is approaching an intersection) | |
TargetPriority | priority |
Priority of the target's lane. Used to determine right of way. | |
TargetPosition | position |
Area in junction of target. Used to determine right of way. | |
A class to store the internal state for the decision/stopping component.