Skip to content

Struct SimOne_Data_TrafficLight

ClassList > SimOne_Data_TrafficLight

  • #include <SimOneIOStruct.h>

Public Attributes

Type Name
int countDown = 0
bool isMainVehicleNextTrafficLight = false
int opendriveLightId = 0
ESimOne_TrafficLight_Status status = ESimOne\_TrafficLight\_Status\_Invalid

Public Attributes Documentation

variable countDown

int SimOne_Data_TrafficLight::countDown;

倒计时,单位为秒。 * Countdown timer in seconds.


variable isMainVehicleNextTrafficLight

bool SimOne_Data_TrafficLight::isMainVehicleNextTrafficLight;

主车是否在下一个交通灯前。 * Indicates if the main vehicle is at the next traffic light.


variable opendriveLightId

int SimOne_Data_TrafficLight::opendriveLightId;

OpenDrive中的交通灯ID。 * Traffic light ID in OpenDrive.


variable status

ESimOne_TrafficLight_Status SimOne_Data_TrafficLight::status;

交通灯状态。 * Status of the traffic light.



The documentation for this class was generated from the following file docs/api/cpp/SimOneIOStruct.h