Skip to content

Properly implemeting TraCI/TraCICommandInterface #354

Closed Answered by riebl
3gles00 asked this question in Q&A
Discussion options

You must be logged in to vote

There is only a single API instance shared among all modules. This API object is a sub-class of the official SUMO TraCIAPI class, i.e. everything supported by SUMO is available. Vehicles are identified by unique IDs in SUMO and these string parameters are usually called vehicleID in the SUMO API. You can get the very same ID from VehicleController::getVehicleId.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@3gles00
Comment options

@riebl
Comment options

Answer selected by 3gles00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants