I want to know if a vehicle is still active in simulation. If I want to set some task to some vehicles, I want to choose those who are not going to be offline early. Is there some method isActive()
to check the activity of vehicles in veins?
Asked
Active
Viewed 42 times
-3

curveball
- 4,320
- 15
- 39
- 49

Luiz Henrique
- 1
- 1
1 Answers
0
TraCIScenarioManager manages only active vehicles. It has a method getManagedHosts
for getting a list of all active (managed) vehicles.

Christoph Sommer
- 6,893
- 1
- 17
- 35