Skip to content

Commit

Permalink
feat: added new TraCI version for sumo 1.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kschrab authored Nov 8, 2023
1 parent 13f0d12 commit e6ab988
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public enum SumoVersion {
SUMO_1_16_x("1.16.*", TraciVersion.API_20),
SUMO_1_17_x("1.17.*", TraciVersion.API_20),
SUMO_1_18_x("1.18.*", TraciVersion.API_20),
SUMO_1_19_x("1.19.*", TraciVersion.API_21),

/**
* the lowest version supported by this client.
Expand All @@ -52,7 +53,7 @@ public enum SumoVersion {
/**
* the highest version supported by this client.
*/
HIGHEST(SUMO_1_18_x.sumoVersion, SUMO_1_18_x.traciVersion);
HIGHEST(SUMO_1_19_x.sumoVersion, SUMO_1_19_x.traciVersion);

private final String sumoVersion;
private final TraciVersion traciVersion;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public enum TraciVersion {
API_18(18),
API_19(19),
API_20(20),
API_21(21),

/**
* the lowest version supported by this client.
Expand All @@ -30,7 +31,7 @@ public enum TraciVersion {
/**
* the highest version supported by this client.
*/
HIGHEST(API_20.getApiVersion());
HIGHEST(API_21.getApiVersion());

private final int apiVersion;

Expand Down

0 comments on commit e6ab988

Please sign in to comment.