Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
libsumo::TraCICollision Struct Reference

#include <TraCIDefs.h>

Data Fields

std::string collider
 The ids of the participating vehicles and persons.
 
double colliderSpeed
 
std::string colliderType
 
std::string lane
 The lane where the collision happended.
 
double pos
 The position of the collision along the lane.
 
std::string type
 The type of collision.
 
std::string victim
 
double victimSpeed
 
std::string victimType
 

Detailed Description

Definition at line 632 of file TraCIDefs.h.

Field Documentation

◆ collider

std::string libsumo::TraCICollision::collider

The ids of the participating vehicles and persons.

Definition at line 634 of file TraCIDefs.h.

Referenced by LIBSUMO_NAMESPACE::Simulation::getCollisions().

◆ colliderSpeed

double libsumo::TraCICollision::colliderSpeed

Definition at line 638 of file TraCIDefs.h.

Referenced by LIBSUMO_NAMESPACE::Simulation::getCollisions().

◆ colliderType

std::string libsumo::TraCICollision::colliderType

Definition at line 636 of file TraCIDefs.h.

Referenced by LIBSUMO_NAMESPACE::Simulation::getCollisions().

◆ lane

std::string libsumo::TraCICollision::lane

The lane where the collision happended.

Definition at line 643 of file TraCIDefs.h.

Referenced by LIBSUMO_NAMESPACE::Simulation::getCollisions().

◆ pos

double libsumo::TraCICollision::pos

The position of the collision along the lane.

Definition at line 645 of file TraCIDefs.h.

Referenced by LIBSUMO_NAMESPACE::Simulation::getCollisions().

◆ type

std::string libsumo::TraCICollision::type

The type of collision.

Definition at line 641 of file TraCIDefs.h.

Referenced by LIBSUMO_NAMESPACE::Simulation::getCollisions().

◆ victim

std::string libsumo::TraCICollision::victim

Definition at line 635 of file TraCIDefs.h.

Referenced by LIBSUMO_NAMESPACE::Simulation::getCollisions().

◆ victimSpeed

double libsumo::TraCICollision::victimSpeed

Definition at line 639 of file TraCIDefs.h.

Referenced by LIBSUMO_NAMESPACE::Simulation::getCollisions().

◆ victimType

std::string libsumo::TraCICollision::victimType

Definition at line 637 of file TraCIDefs.h.

Referenced by LIBSUMO_NAMESPACE::Simulation::getCollisions().


The documentation for this struct was generated from the following file: