Class SumoTraasConnection
java.lang.Object
real_time_traffic_simulation_with_java.wrapper.SumoTraasConnection
Wrapper class for SumoTraciConnection to manage connection with SUMO simulator using TraaS library
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod to close the connection.it.polito.appeal.traci.SumoTraciConnectionGetter for connectiondoubleGet current simulation time in secondsvoidnextStep()Make a Sumo-move-to-the-next-step methodvoidMethod to start the connection
-
Constructor Details
-
SumoTraasConnection
-
-
Method Details
-
getConnection
public it.polito.appeal.traci.SumoTraciConnection getConnection()Getter for connection- Returns:
- SumoTraciConnection connection object
-
startConnection
-
nextStep
-
getCurrentStep
-
closeConnection
-