Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
eclipse
GitHub Repository: eclipse/sumo
Path: blob/main/src/libsumo/TraCIConstants.h
169667 views
1
/****************************************************************************/
2
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo
3
// Copyright (C) 2007-2025 German Aerospace Center (DLR) and others.
4
// This program and the accompanying materials are made available under the
5
// terms of the Eclipse Public License 2.0 which is available at
6
// https://www.eclipse.org/legal/epl-2.0/
7
// This Source Code may also be made available under the following Secondary
8
// Licenses when the conditions for such availability set forth in the Eclipse
9
// Public License 2.0 are satisfied: GNU General Public License, version 2
10
// or later which is available at
11
// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
12
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
13
/****************************************************************************/
14
/// @file TraCIConstants.h
15
/// @author Axel Wegener
16
/// @author Friedemann Wesner
17
/// @author Bjoern Hendriks
18
/// @author Daniel Krajzewicz
19
/// @author Thimor Bohn
20
/// @author Tino Morenz
21
/// @author Michael Behrisch
22
/// @author Christoph Sommer
23
/// @author Mario Krumnow
24
/// @author Jakob Erdmann
25
/// @author Laura Bieker
26
/// @author Mirko Barthauer
27
/// @date 2007/10/24
28
///
29
// holds codes used for TraCI
30
/****************************************************************************/
31
#pragma once
32
33
#if __cplusplus >= 201103L
34
#define TRACI_CONST constexpr
35
#else
36
#define TRACI_CONST const
37
#endif
38
39
namespace libsumo {
40
41
// ****************************************
42
// VERSION
43
// ****************************************
44
TRACI_CONST int TRACI_VERSION = 22;
45
46
// ****************************************
47
// COMMANDS
48
// ****************************************
49
// command: get version
50
TRACI_CONST int CMD_GETVERSION = 0x00;
51
52
// command: load
53
TRACI_CONST int CMD_LOAD = 0x01;
54
55
// command: execute move (half step)
56
TRACI_CONST int CMD_EXECUTEMOVE = 0x7d;
57
58
// command: simulation step
59
TRACI_CONST int CMD_SIMSTEP = 0x02;
60
61
// command: set connection priority (execution order)
62
TRACI_CONST int CMD_SETORDER = 0x03;
63
64
// command: stop vehicle
65
TRACI_CONST int CMD_STOP = 0x12;
66
67
// command: reroute to parking area
68
TRACI_CONST int CMD_REROUTE_TO_PARKING = 0xc2;
69
70
// command: Resume from parking
71
TRACI_CONST int CMD_RESUME = 0x19;
72
73
// command: set lane
74
TRACI_CONST int CMD_CHANGELANE = 0x13;
75
76
// command: slow down
77
TRACI_CONST int CMD_SLOWDOWN = 0x14;
78
79
// command: set sublane (vehicle)
80
TRACI_CONST int CMD_CHANGESUBLANE = 0x15;
81
82
// command: open gap
83
TRACI_CONST int CMD_OPENGAP = 0x16;
84
85
// command: replace vehicle stop and update route
86
TRACI_CONST int CMD_REPLACE_STOP = 0x17;
87
88
// command: insert vehicle stop and update route
89
TRACI_CONST int CMD_INSERT_STOP = 0x18;
90
91
// command: retrieve information about the current taxi fleet and their status
92
TRACI_CONST int VAR_TAXI_FLEET = 0x20;
93
94
// command: send dispatch request for the given taxi
95
TRACI_CONST int CMD_TAXI_DISPATCH = 0x21;
96
97
// command: change target
98
TRACI_CONST int CMD_CHANGETARGET = 0x31;
99
100
// command: close sumo
101
TRACI_CONST int CMD_CLOSE = 0x7F;
102
103
// command: add subscription filter
104
TRACI_CONST int CMD_ADD_SUBSCRIPTION_FILTER = 0x7e;
105
106
107
// command: subscribe induction loop (e1) context
108
TRACI_CONST int CMD_SUBSCRIBE_INDUCTIONLOOP_CONTEXT = 0x80;
109
// response: subscribe induction loop (e1) context
110
TRACI_CONST int RESPONSE_SUBSCRIBE_INDUCTIONLOOP_CONTEXT = 0x90;
111
// command: get induction loop (e1) variable
112
TRACI_CONST int CMD_GET_INDUCTIONLOOP_VARIABLE = 0xa0;
113
// response: get induction loop (e1) variable
114
TRACI_CONST int RESPONSE_GET_INDUCTIONLOOP_VARIABLE = 0xb0;
115
// command: set induction loop (e1) variable, not used yet
116
TRACI_CONST int CMD_SET_INDUCTIONLOOP_VARIABLE = 0xc0;
117
// command: subscribe induction loop (e1) variable
118
TRACI_CONST int CMD_SUBSCRIBE_INDUCTIONLOOP_VARIABLE = 0xd0;
119
// response: subscribe induction loop (e1) variable
120
TRACI_CONST int RESPONSE_SUBSCRIBE_INDUCTIONLOOP_VARIABLE = 0xe0;
121
122
// command: subscribe multi-entry/multi-exit detector (e3) context
123
TRACI_CONST int CMD_SUBSCRIBE_MULTIENTRYEXIT_CONTEXT = 0x81;
124
// response: subscribe multi-entry/multi-exit detector (e3) context
125
TRACI_CONST int RESPONSE_SUBSCRIBE_MULTIENTRYEXIT_CONTEXT = 0x91;
126
// command: get multi-entry/multi-exit detector (e3) variable
127
TRACI_CONST int CMD_GET_MULTIENTRYEXIT_VARIABLE = 0xa1;
128
// response: get multi-entry/multi-exit detector (e3) variable
129
TRACI_CONST int RESPONSE_GET_MULTIENTRYEXIT_VARIABLE = 0xb1;
130
// command: set multi-entry/multi-exit detector (e3) variable, not used yet
131
TRACI_CONST int CMD_SET_MULTIENTRYEXIT_VARIABLE = 0xc1;
132
// command: subscribe multi-entry/multi-exit detector (e3) variable
133
TRACI_CONST int CMD_SUBSCRIBE_MULTIENTRYEXIT_VARIABLE = 0xd1;
134
// response: subscribe multi-entry/multi-exit detector (e3) variable
135
TRACI_CONST int RESPONSE_SUBSCRIBE_MULTIENTRYEXIT_VARIABLE = 0xe1;
136
137
// command: subscribe traffic lights context
138
TRACI_CONST int CMD_SUBSCRIBE_TL_CONTEXT = 0x82;
139
// response: subscribe traffic lights context
140
TRACI_CONST int RESPONSE_SUBSCRIBE_TL_CONTEXT = 0x92;
141
// command: get traffic lights variable
142
TRACI_CONST int CMD_GET_TL_VARIABLE = 0xa2;
143
// response: get traffic lights variable
144
TRACI_CONST int RESPONSE_GET_TL_VARIABLE = 0xb2;
145
// command: set traffic lights variable
146
TRACI_CONST int CMD_SET_TL_VARIABLE = 0xc2;
147
// command: subscribe traffic lights variable
148
TRACI_CONST int CMD_SUBSCRIBE_TL_VARIABLE = 0xd2;
149
// response: subscribe traffic lights variable
150
TRACI_CONST int RESPONSE_SUBSCRIBE_TL_VARIABLE = 0xe2;
151
152
// command: subscribe lane context
153
TRACI_CONST int CMD_SUBSCRIBE_LANE_CONTEXT = 0x83;
154
// response: subscribe lane context
155
TRACI_CONST int RESPONSE_SUBSCRIBE_LANE_CONTEXT = 0x93;
156
// command: get lane variable
157
TRACI_CONST int CMD_GET_LANE_VARIABLE = 0xa3;
158
// response: get lane variable
159
TRACI_CONST int RESPONSE_GET_LANE_VARIABLE = 0xb3;
160
// command: set lane variable
161
TRACI_CONST int CMD_SET_LANE_VARIABLE = 0xc3;
162
// command: subscribe lane variable
163
TRACI_CONST int CMD_SUBSCRIBE_LANE_VARIABLE = 0xd3;
164
// response: subscribe lane variable
165
TRACI_CONST int RESPONSE_SUBSCRIBE_LANE_VARIABLE = 0xe3;
166
167
// command: subscribe vehicle context
168
TRACI_CONST int CMD_SUBSCRIBE_VEHICLE_CONTEXT = 0x84;
169
// response: subscribe vehicle context
170
TRACI_CONST int RESPONSE_SUBSCRIBE_VEHICLE_CONTEXT = 0x94;
171
// command: get vehicle variable
172
TRACI_CONST int CMD_GET_VEHICLE_VARIABLE = 0xa4;
173
// response: get vehicle variable
174
TRACI_CONST int RESPONSE_GET_VEHICLE_VARIABLE = 0xb4;
175
// command: set vehicle variable
176
TRACI_CONST int CMD_SET_VEHICLE_VARIABLE = 0xc4;
177
// command: subscribe vehicle variable
178
TRACI_CONST int CMD_SUBSCRIBE_VEHICLE_VARIABLE = 0xd4;
179
// response: subscribe vehicle variable
180
TRACI_CONST int RESPONSE_SUBSCRIBE_VEHICLE_VARIABLE = 0xe4;
181
182
// command: subscribe vehicle type context
183
TRACI_CONST int CMD_SUBSCRIBE_VEHICLETYPE_CONTEXT = 0x85;
184
// response: subscribe vehicle type context
185
TRACI_CONST int RESPONSE_SUBSCRIBE_VEHICLETYPE_CONTEXT = 0x95;
186
// command: get vehicle type variable
187
TRACI_CONST int CMD_GET_VEHICLETYPE_VARIABLE = 0xa5;
188
// response: get vehicle type variable
189
TRACI_CONST int RESPONSE_GET_VEHICLETYPE_VARIABLE = 0xb5;
190
// command: set vehicle type variable
191
TRACI_CONST int CMD_SET_VEHICLETYPE_VARIABLE = 0xc5;
192
// command: subscribe vehicle type variable
193
TRACI_CONST int CMD_SUBSCRIBE_VEHICLETYPE_VARIABLE = 0xd5;
194
// response: subscribe vehicle type variable
195
TRACI_CONST int RESPONSE_SUBSCRIBE_VEHICLETYPE_VARIABLE = 0xe5;
196
197
// command: subscribe route context
198
TRACI_CONST int CMD_SUBSCRIBE_ROUTE_CONTEXT = 0x86;
199
// response: subscribe route context
200
TRACI_CONST int RESPONSE_SUBSCRIBE_ROUTE_CONTEXT = 0x96;
201
// command: get route variable
202
TRACI_CONST int CMD_GET_ROUTE_VARIABLE = 0xa6;
203
// response: get route variable
204
TRACI_CONST int RESPONSE_GET_ROUTE_VARIABLE = 0xb6;
205
// command: set route variable
206
TRACI_CONST int CMD_SET_ROUTE_VARIABLE = 0xc6;
207
// command: subscribe route variable
208
TRACI_CONST int CMD_SUBSCRIBE_ROUTE_VARIABLE = 0xd6;
209
// response: subscribe route variable
210
TRACI_CONST int RESPONSE_SUBSCRIBE_ROUTE_VARIABLE = 0xe6;
211
212
// command: subscribe poi context
213
TRACI_CONST int CMD_SUBSCRIBE_POI_CONTEXT = 0x87;
214
// response: subscribe poi context
215
TRACI_CONST int RESPONSE_SUBSCRIBE_POI_CONTEXT = 0x97;
216
// command: get poi variable
217
TRACI_CONST int CMD_GET_POI_VARIABLE = 0xa7;
218
// response: get poi variable
219
TRACI_CONST int RESPONSE_GET_POI_VARIABLE = 0xb7;
220
// command: set poi variable
221
TRACI_CONST int CMD_SET_POI_VARIABLE = 0xc7;
222
// command: subscribe poi variable
223
TRACI_CONST int CMD_SUBSCRIBE_POI_VARIABLE = 0xd7;
224
// response: subscribe poi variable
225
TRACI_CONST int RESPONSE_SUBSCRIBE_POI_VARIABLE = 0xe7;
226
227
// command: subscribe polygon context
228
TRACI_CONST int CMD_SUBSCRIBE_POLYGON_CONTEXT = 0x88;
229
// response: subscribe polygon context
230
TRACI_CONST int RESPONSE_SUBSCRIBE_POLYGON_CONTEXT = 0x98;
231
// command: get polygon variable
232
TRACI_CONST int CMD_GET_POLYGON_VARIABLE = 0xa8;
233
// response: get polygon variable
234
TRACI_CONST int RESPONSE_GET_POLYGON_VARIABLE = 0xb8;
235
// command: set polygon variable
236
TRACI_CONST int CMD_SET_POLYGON_VARIABLE = 0xc8;
237
// command: subscribe polygon variable
238
TRACI_CONST int CMD_SUBSCRIBE_POLYGON_VARIABLE = 0xd8;
239
// response: subscribe polygon variable
240
TRACI_CONST int RESPONSE_SUBSCRIBE_POLYGON_VARIABLE = 0xe8;
241
242
// command: subscribe junction context
243
TRACI_CONST int CMD_SUBSCRIBE_JUNCTION_CONTEXT = 0x89;
244
// response: subscribe junction context
245
TRACI_CONST int RESPONSE_SUBSCRIBE_JUNCTION_CONTEXT = 0x99;
246
// command: get junction variable
247
TRACI_CONST int CMD_GET_JUNCTION_VARIABLE = 0xa9;
248
// response: get junction variable
249
TRACI_CONST int RESPONSE_GET_JUNCTION_VARIABLE = 0xb9;
250
// command: set junction variable
251
TRACI_CONST int CMD_SET_JUNCTION_VARIABLE = 0xc9;
252
// command: subscribe junction variable
253
TRACI_CONST int CMD_SUBSCRIBE_JUNCTION_VARIABLE = 0xd9;
254
// response: subscribe junction variable
255
TRACI_CONST int RESPONSE_SUBSCRIBE_JUNCTION_VARIABLE = 0xe9;
256
257
// command: subscribe edge context
258
TRACI_CONST int CMD_SUBSCRIBE_EDGE_CONTEXT = 0x8a;
259
// response: subscribe edge context
260
TRACI_CONST int RESPONSE_SUBSCRIBE_EDGE_CONTEXT = 0x9a;
261
// command: get edge variable
262
TRACI_CONST int CMD_GET_EDGE_VARIABLE = 0xaa;
263
// response: get edge variable
264
TRACI_CONST int RESPONSE_GET_EDGE_VARIABLE = 0xba;
265
// command: set edge variable
266
TRACI_CONST int CMD_SET_EDGE_VARIABLE = 0xca;
267
// command: subscribe edge variable
268
TRACI_CONST int CMD_SUBSCRIBE_EDGE_VARIABLE = 0xda;
269
// response: subscribe edge variable
270
TRACI_CONST int RESPONSE_SUBSCRIBE_EDGE_VARIABLE = 0xea;
271
272
// command: subscribe simulation context
273
TRACI_CONST int CMD_SUBSCRIBE_SIM_CONTEXT = 0x8b;
274
// response: subscribe simulation context
275
TRACI_CONST int RESPONSE_SUBSCRIBE_SIM_CONTEXT = 0x9b;
276
// command: get simulation variable
277
TRACI_CONST int CMD_GET_SIM_VARIABLE = 0xab;
278
// response: get simulation variable
279
TRACI_CONST int RESPONSE_GET_SIM_VARIABLE = 0xbb;
280
// command: set simulation variable
281
TRACI_CONST int CMD_SET_SIM_VARIABLE = 0xcb;
282
// command: subscribe simulation variable
283
TRACI_CONST int CMD_SUBSCRIBE_SIM_VARIABLE = 0xdb;
284
// response: subscribe simulation variable
285
TRACI_CONST int RESPONSE_SUBSCRIBE_SIM_VARIABLE = 0xeb;
286
287
// command: subscribe GUI context
288
TRACI_CONST int CMD_SUBSCRIBE_GUI_CONTEXT = 0x8c;
289
// response: subscribe GUI context
290
TRACI_CONST int RESPONSE_SUBSCRIBE_GUI_CONTEXT = 0x9c;
291
// command: get GUI variable
292
TRACI_CONST int CMD_GET_GUI_VARIABLE = 0xac;
293
// response: get GUI variable
294
TRACI_CONST int RESPONSE_GET_GUI_VARIABLE = 0xbc;
295
// command: set GUI variable
296
TRACI_CONST int CMD_SET_GUI_VARIABLE = 0xcc;
297
// command: subscribe GUI variable
298
TRACI_CONST int CMD_SUBSCRIBE_GUI_VARIABLE = 0xdc;
299
// response: subscribe GUI variable
300
TRACI_CONST int RESPONSE_SUBSCRIBE_GUI_VARIABLE = 0xec;
301
302
// command: subscribe lane area detector (e2) context
303
TRACI_CONST int CMD_SUBSCRIBE_LANEAREA_CONTEXT = 0x8d;
304
// response: subscribe lane area detector (e2) context
305
TRACI_CONST int RESPONSE_SUBSCRIBE_LANEAREA_CONTEXT = 0x9d;
306
// command: get lane area detector (e2) variable
307
TRACI_CONST int CMD_GET_LANEAREA_VARIABLE = 0xad;
308
// response: get lane area detector (e2) variable
309
TRACI_CONST int RESPONSE_GET_LANEAREA_VARIABLE = 0xbd;
310
// command: set lane area detector (e2) variable, not used yet
311
TRACI_CONST int CMD_SET_LANEAREA_VARIABLE = 0xcd;
312
// command: subscribe lane area detector (e2) variable
313
TRACI_CONST int CMD_SUBSCRIBE_LANEAREA_VARIABLE = 0xdd;
314
// response: subscribe lane area detector (e2) variable
315
TRACI_CONST int RESPONSE_SUBSCRIBE_LANEAREA_VARIABLE = 0xed;
316
317
// command: subscribe person context
318
TRACI_CONST int CMD_SUBSCRIBE_PERSON_CONTEXT = 0x8e;
319
// response: subscribe person context
320
TRACI_CONST int RESPONSE_SUBSCRIBE_PERSON_CONTEXT = 0x9e;
321
// command: get person variable
322
TRACI_CONST int CMD_GET_PERSON_VARIABLE = 0xae;
323
// response: get person variable
324
TRACI_CONST int RESPONSE_GET_PERSON_VARIABLE = 0xbe;
325
// command: set person variable
326
TRACI_CONST int CMD_SET_PERSON_VARIABLE = 0xce;
327
// command: subscribe person variable
328
TRACI_CONST int CMD_SUBSCRIBE_PERSON_VARIABLE = 0xde;
329
// response: subscribe person variable
330
TRACI_CONST int RESPONSE_SUBSCRIBE_PERSON_VARIABLE = 0xee;
331
332
// command: subscribe busstop context
333
TRACI_CONST int CMD_SUBSCRIBE_BUSSTOP_CONTEXT = 0x8f;
334
// response: subscribe busstop context
335
TRACI_CONST int RESPONSE_SUBSCRIBE_BUSSTOP_CONTEXT = 0x9f;
336
// command: get busstop variable
337
TRACI_CONST int CMD_GET_BUSSTOP_VARIABLE = 0xaf;
338
// response: get busstop variable
339
TRACI_CONST int RESPONSE_GET_BUSSTOP_VARIABLE = 0xbf;
340
// command: set busstop variable, not used yet
341
TRACI_CONST int CMD_SET_BUSSTOP_VARIABLE = 0xcf;
342
// command: subscribe busstop variable
343
TRACI_CONST int CMD_SUBSCRIBE_BUSSTOP_VARIABLE = 0xdf;
344
// response: subscribe busstop variable
345
TRACI_CONST int RESPONSE_SUBSCRIBE_BUSSTOP_VARIABLE = 0xef;
346
347
// command: subscribe parkingarea context
348
TRACI_CONST int CMD_SUBSCRIBE_PARKINGAREA_CONTEXT = 0x04;
349
// response: subscribe parkingarea context
350
TRACI_CONST int RESPONSE_SUBSCRIBE_PARKINGAREA_CONTEXT = 0x14;
351
// command: get parkingarea variable
352
TRACI_CONST int CMD_GET_PARKINGAREA_VARIABLE = 0x24;
353
// response: get parkingarea variable
354
TRACI_CONST int RESPONSE_GET_PARKINGAREA_VARIABLE = 0x34;
355
// command: set parkingarea variable
356
TRACI_CONST int CMD_SET_PARKINGAREA_VARIABLE = 0x44;
357
// command: subscribe parkingarea variable
358
TRACI_CONST int CMD_SUBSCRIBE_PARKINGAREA_VARIABLE = 0x54;
359
// response: subscribe parkingarea variable
360
TRACI_CONST int RESPONSE_SUBSCRIBE_PARKINGAREA_VARIABLE = 0x64;
361
362
// command: subscribe chargingstation context
363
TRACI_CONST int CMD_SUBSCRIBE_CHARGINGSTATION_CONTEXT = 0x05;
364
// response: subscribe chargingstation context
365
TRACI_CONST int RESPONSE_SUBSCRIBE_CHARGINGSTATION_CONTEXT = 0x15;
366
// command: get chargingstation variable
367
TRACI_CONST int CMD_GET_CHARGINGSTATION_VARIABLE = 0x25;
368
// response: get chargingstation variable
369
TRACI_CONST int RESPONSE_GET_CHARGINGSTATION_VARIABLE = 0x35;
370
// command: set chargingstation variable
371
TRACI_CONST int CMD_SET_CHARGINGSTATION_VARIABLE = 0x45;
372
// command: subscribe chargingstation variable
373
TRACI_CONST int CMD_SUBSCRIBE_CHARGINGSTATION_VARIABLE = 0x55;
374
// response: subscribe chargingstation variable
375
TRACI_CONST int RESPONSE_SUBSCRIBE_CHARGINGSTATION_VARIABLE = 0x65;
376
377
// command: subscribe routeprobe context
378
TRACI_CONST int CMD_SUBSCRIBE_ROUTEPROBE_CONTEXT = 0x06;
379
// response: subscribe routeprobe context
380
TRACI_CONST int RESPONSE_SUBSCRIBE_ROUTEPROBE_CONTEXT = 0x16;
381
// command: get routeprobe variable
382
TRACI_CONST int CMD_GET_ROUTEPROBE_VARIABLE = 0x26;
383
// response: get routeprobe variable
384
TRACI_CONST int RESPONSE_GET_ROUTEPROBE_VARIABLE = 0x36;
385
// command: set routeprobe variable
386
TRACI_CONST int CMD_SET_ROUTEPROBE_VARIABLE = 0x46;
387
// command: subscribe routeprobe variable
388
TRACI_CONST int CMD_SUBSCRIBE_ROUTEPROBE_VARIABLE = 0x56;
389
// response: subscribe routeprobe variable
390
TRACI_CONST int RESPONSE_SUBSCRIBE_ROUTEPROBE_VARIABLE = 0x66;
391
392
// command: subscribe calibrator context
393
TRACI_CONST int CMD_SUBSCRIBE_CALIBRATOR_CONTEXT = 0x07;
394
// response: subscribe calibrator context
395
TRACI_CONST int RESPONSE_SUBSCRIBE_CALIBRATOR_CONTEXT = 0x17;
396
// command: get calibrator variable
397
TRACI_CONST int CMD_GET_CALIBRATOR_VARIABLE = 0x27;
398
// response: get calibrator variable
399
TRACI_CONST int RESPONSE_GET_CALIBRATOR_VARIABLE = 0x37;
400
// command: set calibrator variable
401
TRACI_CONST int CMD_SET_CALIBRATOR_VARIABLE = 0x47;
402
// command: subscribe calibrator variable
403
TRACI_CONST int CMD_SUBSCRIBE_CALIBRATOR_VARIABLE = 0x57;
404
// response: subscribe calibrator variable
405
TRACI_CONST int RESPONSE_SUBSCRIBE_CALIBRATOR_VARIABLE = 0x67;
406
407
// command: subscribe rerouter context
408
TRACI_CONST int CMD_SUBSCRIBE_REROUTER_CONTEXT = 0x08;
409
// response: subscribe rerouter context
410
TRACI_CONST int RESPONSE_SUBSCRIBE_REROUTER_CONTEXT = 0x18;
411
// command: get rerouter variable
412
TRACI_CONST int CMD_GET_REROUTER_VARIABLE = 0x28;
413
// response: get rerouter variable
414
TRACI_CONST int RESPONSE_GET_REROUTER_VARIABLE = 0x38;
415
// command: set rerouter variable
416
TRACI_CONST int CMD_SET_REROUTER_VARIABLE = 0x48;
417
// command: subscribe rerouter variable
418
TRACI_CONST int CMD_SUBSCRIBE_REROUTER_VARIABLE = 0x58;
419
// response: subscribe rerouter variable
420
TRACI_CONST int RESPONSE_SUBSCRIBE_REROUTER_VARIABLE = 0x68;
421
422
// command: subscribe variablespeedsign context
423
TRACI_CONST int CMD_SUBSCRIBE_VARIABLESPEEDSIGN_CONTEXT = 0x09;
424
// response: subscribe variablespeedsign context
425
TRACI_CONST int RESPONSE_SUBSCRIBE_VARIABLESPEEDSIGN_CONTEXT = 0x19;
426
// command: get variablespeedsign variable
427
TRACI_CONST int CMD_GET_VARIABLESPEEDSIGN_VARIABLE = 0x29;
428
// response: get variablespeedsign variable
429
TRACI_CONST int RESPONSE_GET_VARIABLESPEEDSIGN_VARIABLE = 0x39;
430
// command: set variablespeedsign variable
431
TRACI_CONST int CMD_SET_VARIABLESPEEDSIGN_VARIABLE = 0x49;
432
// command: subscribe variablespeedsign variable
433
TRACI_CONST int CMD_SUBSCRIBE_VARIABLESPEEDSIGN_VARIABLE = 0x59;
434
// response: subscribe variablespeedsign variable
435
TRACI_CONST int RESPONSE_SUBSCRIBE_VARIABLESPEEDSIGN_VARIABLE = 0x69;
436
437
// command: subscribe meandata context
438
TRACI_CONST int CMD_SUBSCRIBE_MEANDATA_CONTEXT = 0x0a;
439
// response: subscribe meandata context
440
TRACI_CONST int RESPONSE_SUBSCRIBE_MEANDATA_CONTEXT = 0x1a;
441
// command: get meandata variable
442
TRACI_CONST int CMD_GET_MEANDATA_VARIABLE = 0x2a;
443
// response: get meandata variable
444
TRACI_CONST int RESPONSE_GET_MEANDATA_VARIABLE = 0x3a;
445
// command: set meandata variable, not used yet
446
TRACI_CONST int CMD_SET_MEANDATA_VARIABLE = 0x4a;
447
// command: subscribe meandata variable
448
TRACI_CONST int CMD_SUBSCRIBE_MEANDATA_VARIABLE = 0x5a;
449
// response: subscribe meandata variable
450
TRACI_CONST int RESPONSE_SUBSCRIBE_MEANDATA_VARIABLE = 0x6a;
451
452
// command: subscribe overheadwire context
453
TRACI_CONST int CMD_SUBSCRIBE_OVERHEADWIRE_CONTEXT = 0x0b;
454
// response: subscribe overheadwire context
455
TRACI_CONST int RESPONSE_SUBSCRIBE_OVERHEADWIRE_CONTEXT = 0x1b;
456
// command: get overheadwire variable
457
TRACI_CONST int CMD_GET_OVERHEADWIRE_VARIABLE = 0x2b;
458
// response: get overheadwire variable
459
TRACI_CONST int RESPONSE_GET_OVERHEADWIRE_VARIABLE = 0x3b;
460
// command: set overheadwire variable
461
TRACI_CONST int CMD_SET_OVERHEADWIRE_VARIABLE = 0x4b;
462
// command: subscribe overheadwire variable
463
TRACI_CONST int CMD_SUBSCRIBE_OVERHEADWIRE_VARIABLE = 0x5b;
464
// response: subscribe overheadwire variable
465
TRACI_CONST int RESPONSE_SUBSCRIBE_OVERHEADWIRE_VARIABLE = 0x6b;
466
467
468
// ****************************************
469
// POSITION REPRESENTATIONS
470
// ****************************************
471
// Position in geo-coordinates
472
TRACI_CONST int POSITION_LON_LAT = 0x00;
473
// 2D cartesian coordinates
474
TRACI_CONST int POSITION_2D = 0x01;
475
// Position in geo-coordinates with altitude
476
TRACI_CONST int POSITION_LON_LAT_ALT = 0x02;
477
// 3D cartesian coordinates
478
TRACI_CONST int POSITION_3D = 0x03;
479
// Position on road map
480
TRACI_CONST int POSITION_ROADMAP = 0x04;
481
482
483
// ****************************************
484
// DATA TYPES
485
// ****************************************
486
// Polygon (2*n doubles)
487
TRACI_CONST int TYPE_POLYGON = 0x06;
488
// unsigned byte
489
TRACI_CONST int TYPE_UBYTE = 0x07;
490
// signed byte
491
TRACI_CONST int TYPE_BYTE = 0x08;
492
// 32 bit signed integer
493
TRACI_CONST int TYPE_INTEGER = 0x09;
494
// double precision float
495
TRACI_CONST int TYPE_DOUBLE = 0x0B;
496
// 8 bit ASCII string
497
TRACI_CONST int TYPE_STRING = 0x0C;
498
// list of strings
499
TRACI_CONST int TYPE_STRINGLIST = 0x0E;
500
// compound object
501
TRACI_CONST int TYPE_COMPOUND = 0x0F;
502
// list of double precision floats
503
TRACI_CONST int TYPE_DOUBLELIST = 0x10;
504
// color (four ubytes)
505
TRACI_CONST int TYPE_COLOR = 0x11;
506
507
508
// ****************************************
509
// RESULT TYPES
510
// ****************************************
511
// result type: Ok
512
TRACI_CONST int RTYPE_OK = 0x00;
513
// result type: not implemented
514
TRACI_CONST int RTYPE_NOTIMPLEMENTED = 0x01;
515
// result type: error
516
TRACI_CONST int RTYPE_ERR = 0xFF;
517
518
// ****************************************
519
// special return or parameter values
520
// ****************************************
521
// return value for invalid queries (especially vehicle is not on the road), see Position::INVALID
522
TRACI_CONST double INVALID_DOUBLE_VALUE = -1073741824.0;
523
// return value for invalid queries (especially vehicle is not on the road), see Position::INVALID
524
TRACI_CONST int INVALID_INT_VALUE = -1073741824;
525
// maximum value for client ordering (2 ^ 30)
526
TRACI_CONST int MAX_ORDER = 1073741824;
527
// default number of connection attempts
528
TRACI_CONST int DEFAULT_NUM_RETRIES = 60;
529
530
531
// ****************************************
532
// DIFFERENT DISTANCE REQUESTS
533
// ****************************************
534
// air distance
535
TRACI_CONST int REQUEST_AIRDIST = 0x00;
536
// driving distance
537
TRACI_CONST int REQUEST_DRIVINGDIST = 0x01;
538
539
540
// ****************************************
541
// VEHICLE REMOVAL REASONS
542
// ****************************************
543
// vehicle started teleport
544
TRACI_CONST int REMOVE_TELEPORT = 0x00;
545
// vehicle removed while parking
546
TRACI_CONST int REMOVE_PARKING = 0x01;
547
// vehicle arrived
548
TRACI_CONST int REMOVE_ARRIVED = 0x02;
549
// vehicle was vaporized
550
TRACI_CONST int REMOVE_VAPORIZED = 0x03;
551
// vehicle finished route during teleport
552
TRACI_CONST int REMOVE_TELEPORT_ARRIVED = 0x04;
553
554
// ****************************************
555
// VEHICLE MOVE REASONS
556
// ****************************************
557
// infer reason from move distance
558
TRACI_CONST int MOVE_AUTOMATIC = 0x00;
559
// vehicle teleports to another location
560
TRACI_CONST int MOVE_TELEPORT = 0x01;
561
// vehicle moved normally
562
TRACI_CONST int MOVE_NORMAL = 0x02;
563
564
// ****************************************
565
// PERSON/CONTAINER STAGES
566
// ****************************************
567
// person / container stopping
568
TRACI_CONST int STAGE_WAITING_FOR_DEPART = 0x00;
569
// person / container stopping
570
TRACI_CONST int STAGE_WAITING = 0x01;
571
// person walking
572
TRACI_CONST int STAGE_WALKING = 0x02;
573
// person riding / container being transported
574
TRACI_CONST int STAGE_DRIVING = 0x03;
575
// person accessing stopping place
576
TRACI_CONST int STAGE_ACCESS = 0x04;
577
// stage for encoding abstract travel demand
578
TRACI_CONST int STAGE_TRIP = 0x05;
579
// person / container transhiping
580
TRACI_CONST int STAGE_TRANSHIP = 0x06;
581
582
// ****************************************
583
// Stop Flags
584
// ****************************************
585
TRACI_CONST int STOP_DEFAULT = 0x00;
586
TRACI_CONST int STOP_PARKING = 0x01;
587
TRACI_CONST int STOP_TRIGGERED = 0x02;
588
TRACI_CONST int STOP_CONTAINER_TRIGGERED = 0x04;
589
TRACI_CONST int STOP_BUS_STOP = 0x08;
590
TRACI_CONST int STOP_CONTAINER_STOP = 0x10;
591
TRACI_CONST int STOP_CHARGING_STATION = 0x20;
592
TRACI_CONST int STOP_PARKING_AREA = 0x40;
593
TRACI_CONST int STOP_OVERHEAD_WIRE = 0x80;
594
595
// ****************************************
596
// Departure Flags (corresponding value from DepartDefinition, DepartLaneDefinition with a minus)
597
// ****************************************
598
TRACI_CONST int DEPARTFLAG_TRIGGERED = -0x01;
599
TRACI_CONST int DEPARTFLAG_CONTAINER_TRIGGERED = -0x02;
600
TRACI_CONST int DEPARTFLAG_NOW = -0x03;
601
TRACI_CONST int DEPARTFLAG_SPLIT = -0x04;
602
TRACI_CONST int DEPARTFLAG_BEGIN = -0x05;
603
604
TRACI_CONST int DEPARTFLAG_SPEED_RANDOM = -0x02;
605
TRACI_CONST int DEPARTFLAG_SPEED_MAX = -0x03;
606
607
TRACI_CONST int DEPARTFLAG_LANE_RANDOM = -0x02;
608
TRACI_CONST int DEPARTFLAG_LANE_FREE = -0x03;
609
TRACI_CONST int DEPARTFLAG_LANE_ALLOWED_FREE = -0x04;
610
TRACI_CONST int DEPARTFLAG_LANE_BEST_FREE = -0x05;
611
TRACI_CONST int DEPARTFLAG_LANE_FIRST_ALLOWED = -0x06;
612
613
TRACI_CONST int DEPARTFLAG_POS_RANDOM = -0x02;
614
TRACI_CONST int DEPARTFLAG_POS_FREE = -0x03;
615
TRACI_CONST int DEPARTFLAG_POS_BASE = -0x04;
616
TRACI_CONST int DEPARTFLAG_POS_LAST = -0x05;
617
TRACI_CONST int DEPARTFLAG_POS_RANDOM_FREE = -0x06;
618
619
TRACI_CONST int ARRIVALFLAG_LANE_CURRENT = -0x02;
620
TRACI_CONST int ARRIVALFLAG_SPEED_CURRENT = -0x02;
621
622
TRACI_CONST int ARRIVALFLAG_POS_RANDOM = -0x02;
623
TRACI_CONST int ARRIVALFLAG_POS_MAX = -0x03;
624
625
// ****************************************
626
// Routing modes
627
// ****************************************
628
// use custom weights if available, fall back to loaded weights and then to free-flow speed
629
TRACI_CONST int ROUTING_MODE_DEFAULT = 0x00;
630
// use aggregated travel times from device.rerouting
631
TRACI_CONST int ROUTING_MODE_AGGREGATED = 0x01;
632
// use loaded efforts
633
TRACI_CONST int ROUTING_MODE_EFFORT = 0x02;
634
// use combined costs
635
TRACI_CONST int ROUTING_MODE_COMBINED = 0x03;
636
// use aggregated travel times from device.rerouting enriched with custom weights
637
TRACI_CONST int ROUTING_MODE_AGGREGATED_CUSTOM = 0x04;
638
// when this bit is set, routing does not consider temporary permission changes (i.e. from rerouters)
639
// note: can be combined with either one of the other modes (bitwise)
640
TRACI_CONST int ROUTING_MODE_IGNORE_TRANSIENT_PERMISSIONS = 0x08;
641
642
// ****************************************
643
// Traffic light types
644
// ****************************************
645
TRACI_CONST int TRAFFICLIGHT_TYPE_STATIC = 0x00;
646
TRACI_CONST int TRAFFICLIGHT_TYPE_ACTUATED = 0x03;
647
TRACI_CONST int TRAFFICLIGHT_TYPE_NEMA = 0x04;
648
TRACI_CONST int TRAFFICLIGHT_TYPE_DELAYBASED = 0x05;
649
650
// ****************************************
651
// Lane change directions
652
// ****************************************
653
TRACI_CONST int LANECHANGE_LEFT = 0x01;
654
TRACI_CONST int LANECHANGE_RIGHT = -0x01;
655
656
// ****************************************
657
// FILTER TYPES (for context subscription filters)
658
// ****************************************
659
660
// Reset all filters
661
TRACI_CONST int FILTER_TYPE_NONE = 0x00;
662
663
// Filter by list of lanes relative to ego vehicle
664
TRACI_CONST int FILTER_TYPE_LANES = 0x01;
665
666
// Exclude vehicles on opposite (and other) lanes from context subscription result
667
TRACI_CONST int FILTER_TYPE_NOOPPOSITE = 0x02;
668
669
// Specify maximal downstream distance for vehicles in context subscription result
670
TRACI_CONST int FILTER_TYPE_DOWNSTREAM_DIST = 0x03;
671
672
// Specify maximal upstream distance for vehicles in context subscription result
673
TRACI_CONST int FILTER_TYPE_UPSTREAM_DIST = 0x04;
674
675
// Only return leader and follower on the specified lanes in context subscription result
676
TRACI_CONST int FILTER_TYPE_LEAD_FOLLOW = 0x05;
677
678
// Only return foes on upcoming junctions in context subscription result
679
TRACI_CONST int FILTER_TYPE_TURN = 0x07;
680
681
// Only return vehicles of the given vClass in context subscription result
682
TRACI_CONST int FILTER_TYPE_VCLASS = 0x08;
683
684
// Only return vehicles of the given vType in context subscription result
685
TRACI_CONST int FILTER_TYPE_VTYPE = 0x09;
686
687
// Only return vehicles within field of vision in context subscription result
688
TRACI_CONST int FILTER_TYPE_FIELD_OF_VISION = 0x0A;
689
690
// Only return vehicles within the given lateral distance in context subscription result
691
TRACI_CONST int FILTER_TYPE_LATERAL_DIST = 0x0B;
692
693
// ****************************************
694
// VARIABLE TYPES (for CMD_GET_*_VARIABLE)
695
// ****************************************
696
// list of instances' ids (get: all)
697
TRACI_CONST int TRACI_ID_LIST = 0x00;
698
699
// count of instances (get: all)
700
TRACI_CONST int ID_COUNT = 0x01;
701
702
// subscribe object variables (get: all)
703
TRACI_CONST int AUTOMATIC_VARIABLES_SUBSCRIPTION = 0x02;
704
705
// subscribe context variables (get: all)
706
TRACI_CONST int AUTOMATIC_CONTEXT_SUBSCRIPTION = 0x03;
707
708
// generic attributes (get/set: all)
709
TRACI_CONST int GENERIC_ATTRIBUTE = 0x03;
710
711
// last step vehicle number (get: induction loops, multi-entry/multi-exit detector, lanes, edges)
712
TRACI_CONST int LAST_STEP_VEHICLE_NUMBER = 0x10;
713
714
// last step vehicle number (get: induction loops, multi-entry/multi-exit detector, lanes, edges)
715
TRACI_CONST int LAST_STEP_MEAN_SPEED = 0x11;
716
717
// last step vehicle list (get: induction loops, multi-entry/multi-exit detector, lanes, edges)
718
TRACI_CONST int LAST_STEP_VEHICLE_ID_LIST = 0x12;
719
720
// last step occupancy (get: e1, e2, lanes, edges)
721
TRACI_CONST int LAST_STEP_OCCUPANCY = 0x13;
722
723
// last step vehicle halting number (get: e2, e3, lanes, edges)
724
TRACI_CONST int LAST_STEP_VEHICLE_HALTING_NUMBER = 0x14;
725
726
// upstream junction (edges)
727
TRACI_CONST int FROM_JUNCTION = 0x7b;
728
729
// downstream junction (edges)
730
TRACI_CONST int TO_JUNCTION = 0x7c;
731
732
// incoming edges (junction)
733
TRACI_CONST int INCOMING_EDGES = 0x7b;
734
735
// outgoing edges (junction)
736
TRACI_CONST int OUTGOING_EDGES = 0x7c;
737
738
// get bidi object (edges, lanes)
739
TRACI_CONST int VAR_BIDI = 0x7f;
740
741
// last step mean vehicle length (get: induction loops, lanes, edges)
742
TRACI_CONST int LAST_STEP_LENGTH = 0x15;
743
744
// last step time since last detection (get: induction loops)
745
TRACI_CONST int LAST_STEP_TIME_SINCE_DETECTION = 0x16;
746
747
// entry times (get: inductionloop)
748
TRACI_CONST int LAST_STEP_VEHICLE_DATA = 0x17;
749
750
// get aggregated occupancy (get: inductionloop, e2)
751
TRACI_CONST int VAR_INTERVAL_OCCUPANCY = 0x23;
752
753
// get aggregated speed (get: inductionloop, e2)
754
TRACI_CONST int VAR_INTERVAL_SPEED = 0x24;
755
756
// get aggregated vehicle count (get: inductionloop, e2)
757
TRACI_CONST int VAR_INTERVAL_NUMBER = 0x25;
758
759
// get aggregated vehicle ids (get: inductionloop)
760
TRACI_CONST int VAR_INTERVAL_IDS = 0x26;
761
762
// get aggregated vehicle ids (get: inductionloop)
763
TRACI_CONST int VAR_INTERVAL_TIMELOSS = 0x34;
764
765
// get aggregated speed of last written interval (get: inductionloop, e2)
766
TRACI_CONST int VAR_LAST_INTERVAL_OCCUPANCY = 0x27;
767
768
// get aggregated occupancy of last written interval (get: inductionloop, e2)
769
TRACI_CONST int VAR_LAST_INTERVAL_SPEED = 0x28;
770
771
// get aggregated vehicle count of last written interval (get: inductionloop, e2)
772
TRACI_CONST int VAR_LAST_INTERVAL_NUMBER = 0x29;
773
774
// get aggregated vehicle ids of last written interval (get: inductionloop)
775
TRACI_CONST int VAR_LAST_INTERVAL_IDS = 0x2a;
776
777
// last step jam length in vehicles (get: e2)
778
TRACI_CONST int JAM_LENGTH_VEHICLE = 0x18;
779
780
// last step jam length in meters (get: e2)
781
TRACI_CONST int JAM_LENGTH_METERS = 0x19;
782
783
// get aggregated jam length (e2)
784
TRACI_CONST int VAR_INTERVAL_MAX_JAM_LENGTH_METERS = 0x32;
785
786
// get prior aggregated jam length (e2)
787
TRACI_CONST int VAR_LAST_INTERVAL_MAX_JAM_LENGTH_METERS = 0x33;
788
789
// last interval travel time (get: e3)
790
TRACI_CONST int VAR_LAST_INTERVAL_TRAVELTIME = 0x58;
791
792
// last step vehicle halting number (get: e3)
793
TRACI_CONST int VAR_LAST_INTERVAL_MEAN_HALTING_NUMBER = 0x20;
794
795
// last interval vehicle count(get: e3)
796
TRACI_CONST int VAR_LAST_INTERVAL_VEHICLE_NUMBER = 0x21;
797
798
// last interval vehicle count(get: e2, e3)
799
TRACI_CONST int VAR_LAST_INTERVAL_TIMELOSS = 0x35;
800
801
// last interval vehicle count(set, get: e1, e2)
802
TRACI_CONST int VAR_VIRTUAL_DETECTION = 0x22;
803
804
// last step person list (get: edges, vehicles)
805
TRACI_CONST int LAST_STEP_PERSON_ID_LIST = 0x1a;
806
807
// full name (get: edges, simulation, trafficlight)
808
TRACI_CONST int VAR_NAME = 0x1b;
809
810
// carFollowModel function followSpeed (get: vehicle)
811
TRACI_CONST int VAR_FOLLOW_SPEED = 0x1c;
812
813
// carFollowModel function stopSpeed (get: vehicle)
814
TRACI_CONST int VAR_STOP_SPEED = 0x1d;
815
816
// carFollowModel function getSecureGap (get: vehicle)
817
TRACI_CONST int VAR_SECURE_GAP = 0x1e;
818
819
// estimated (depart) delay for next stop (get: vehicle)
820
TRACI_CONST int VAR_STOP_DELAY = 0x1f;
821
822
// estimated arrival delay for next stop (get: vehicle)
823
TRACI_CONST int VAR_STOP_ARRIVALDELAY = 0x22;
824
825
// collected timeLoss since departure (get: vehicle, e3)
826
TRACI_CONST int VAR_TIMELOSS = 0x8c;
827
828
// begin time(get: calibrator)
829
TRACI_CONST int VAR_BEGIN = 0x1c;
830
831
// end time(get: calibrator, simulation)
832
TRACI_CONST int VAR_END = 0x1d;
833
834
// vtype list (get: calibrator)
835
TRACI_CONST int VAR_VTYPES = 0x1e;
836
837
// vehicles per hour (get: calibrator)
838
TRACI_CONST int VAR_VEHSPERHOUR = 0x13;
839
840
// passed vehicle count (get: calibrator)
841
TRACI_CONST int VAR_PASSED = 0x14;
842
843
// inserted vehicle count (get: calibrator)
844
TRACI_CONST int VAR_INSERTED = 0x15;
845
846
// removed vehicle count (get: calibrator)
847
TRACI_CONST int VAR_REMOVED = 0x16;
848
849
// routeProbe id (get: calibrator)
850
TRACI_CONST int VAR_ROUTE_PROBE = 0x17;
851
852
// routeProbe id (get: calibrator)
853
TRACI_CONST int CMD_SET_FLOW = 0x18;
854
855
// traffic light states, encoded as rRgGyYoO tuple (get: traffic lights)
856
TRACI_CONST int TL_RED_YELLOW_GREEN_STATE = 0x20;
857
858
// index of the phase (set: traffic lights)
859
TRACI_CONST int TL_PHASE_INDEX = 0x22;
860
861
// traffic light program (set: traffic lights)
862
TRACI_CONST int TL_PROGRAM = 0x23;
863
864
// phase duration (set: traffic lights)
865
TRACI_CONST int TL_PHASE_DURATION = 0x24;
866
867
// vehicles that block passing the given signal (get: traffic lights)
868
TRACI_CONST int TL_BLOCKING_VEHICLES = 0x25;
869
870
// controlled lanes (get: traffic lights)
871
TRACI_CONST int TL_CONTROLLED_LANES = 0x26;
872
873
// controlled links (get: traffic lights)
874
TRACI_CONST int TL_CONTROLLED_LINKS = 0x27;
875
876
// index of the current phase (get: traffic lights)
877
TRACI_CONST int TL_CURRENT_PHASE = 0x28;
878
879
// name of the current program (get: traffic lights)
880
TRACI_CONST int TL_CURRENT_PROGRAM = 0x29;
881
882
// vehicles that also wish to pass the given signal (get: traffic lights)
883
TRACI_CONST int TL_RIVAL_VEHICLES = 0x30;
884
885
// vehicles that also wish to pass the given signal and have higher priority (get: traffic lights)
886
TRACI_CONST int TL_PRIORITY_VEHICLES = 0x31;
887
888
// controlled junctions (get: traffic lights)
889
TRACI_CONST int TL_CONTROLLED_JUNCTIONS = 0x2a;
890
891
// complete definition (get: traffic lights)
892
TRACI_CONST int TL_COMPLETE_DEFINITION_RYG = 0x2b;
893
894
// complete program (set: traffic lights)
895
TRACI_CONST int TL_COMPLETE_PROGRAM_RYG = 0x2c;
896
897
// assumed time to next switch (get: traffic lights)
898
TRACI_CONST int TL_NEXT_SWITCH = 0x2d;
899
900
// add/get rail signal constraints
901
TRACI_CONST int TL_CONSTRAINT = 0x2f;
902
903
// switch order of trains encoded in rail signal constraints (set: traffic lights)
904
TRACI_CONST int TL_CONSTRAINT_SWAP = 0x32;
905
906
// add/get rail signal constraints by foeSignal (get: traffic lights)
907
TRACI_CONST int TL_CONSTRAINT_BYFOE = 0x34;
908
909
// add/get rail signal constraints by foeSignal (set: traffic lights)
910
TRACI_CONST int TL_CONSTRAINT_REMOVE = 0x35;
911
912
// update rail signal constraints by vehID (set: traffic lights)
913
TRACI_CONST int TL_CONSTRAINT_UPDATE = 0x36;
914
915
// add rail signal constraint (set: traffic lights)
916
TRACI_CONST int TL_CONSTRAINT_ADD = 0x37;
917
918
// retrieve duration spent in the current phase (get: traffic lights)
919
TRACI_CONST int TL_SPENT_DURATION = 0x38;
920
921
// outgoing link number (get: lanes)
922
TRACI_CONST int LANE_LINK_NUMBER = 0x30;
923
924
// id of parent edge (get: lanes)
925
TRACI_CONST int LANE_EDGE_ID = 0x31;
926
927
// outgoing link definitions (get: lanes)
928
TRACI_CONST int LANE_LINKS = 0x33;
929
930
// list of allowed vehicle classes (get&set: lanes)
931
TRACI_CONST int LANE_ALLOWED = 0x34;
932
933
// list of not allowed vehicle classes (get&set: lanes)
934
TRACI_CONST int LANE_DISALLOWED = 0x35;
935
936
// list of allowed vehicle classes for lane changes (get&set: lanes)
937
TRACI_CONST int LANE_CHANGES = 0x3c;
938
939
// list of foe lanes (get: lane, vehicle)
940
TRACI_CONST int VAR_FOES = 0x37;
941
942
// slope (get: edge, lane, vehicle, person)
943
TRACI_CONST int VAR_SLOPE = 0x36;
944
945
// speed (get: vehicle)
946
TRACI_CONST int VAR_SPEED = 0x40;
947
948
// adapt previous speed (set: vehicle)
949
TRACI_CONST int VAR_PREV_SPEED = 0x3c;
950
951
// friction coefficient (set&get: lanes, set: edges)
952
TRACI_CONST int VAR_FRICTION = 0x3d;
953
954
// lateral speed (get: vehicle)
955
TRACI_CONST int VAR_SPEED_LAT = 0x32;
956
957
// maximum allowed/possible speed (get: vehicle types, lanes, set: edges, lanes)
958
TRACI_CONST int VAR_MAXSPEED = 0x41;
959
960
// position (2D) (get: vehicle, poi, inductionloop, lane area detector, multi-entry/multi-exit detector; set: poi)
961
TRACI_CONST int VAR_POSITION = 0x42;
962
963
// position (2D) (get: multi-entry/multi-exit detector)
964
TRACI_CONST int VAR_EXIT_POSITIONS = 0x43;
965
966
// position (3D) (get: vehicle, poi, set: poi)
967
TRACI_CONST int VAR_POSITION3D = 0x39;
968
969
// angle (get: vehicle, edge, lane, poi, gui; set: poi, gui)
970
TRACI_CONST int VAR_ANGLE = 0x43;
971
972
// length (get: vehicle types, lanes, lane area detector, set: lanes)
973
TRACI_CONST int VAR_LENGTH = 0x44;
974
975
// color (get: vehicles, vehicle types, polygons, pois)
976
TRACI_CONST int VAR_COLOR = 0x45;
977
978
// max. acceleration (get: vehicles, vehicle types)
979
TRACI_CONST int VAR_ACCEL = 0x46;
980
981
// max. comfortable deceleration (get: vehicles, vehicle types)
982
TRACI_CONST int VAR_DECEL = 0x47;
983
984
// max. (physically possible) deceleration (get: vehicles, vehicle types)
985
TRACI_CONST int VAR_EMERGENCY_DECEL = 0x7b;
986
987
// apparent deceleration (get: vehicles, vehicle types)
988
TRACI_CONST int VAR_APPARENT_DECEL = 0x7c;
989
990
// action step length (get: vehicles, vehicle types)
991
TRACI_CONST int VAR_ACTIONSTEPLENGTH = 0x7d;
992
993
// last action time (get: vehicles)
994
TRACI_CONST int VAR_LASTACTIONTIME = 0x7f;
995
996
// driver's desired headway (get: vehicle types)
997
TRACI_CONST int VAR_TAU = 0x48;
998
999
// vehicle class (get: vehicle types)
1000
TRACI_CONST int VAR_VEHICLECLASS = 0x49;
1001
1002
// emission class (get: vehicle types)
1003
TRACI_CONST int VAR_EMISSIONCLASS = 0x4a;
1004
1005
// shape class (get: vehicle types)
1006
TRACI_CONST int VAR_SHAPECLASS = 0x4b;
1007
1008
// minimum gap (get: vehicle types)
1009
TRACI_CONST int VAR_MINGAP = 0x4c;
1010
1011
// width (get: vehicle types, lanes, polygons, poi)
1012
TRACI_CONST int VAR_WIDTH = 0x4d;
1013
1014
// shape (get: polygons)
1015
TRACI_CONST int VAR_SHAPE = 0x4e;
1016
1017
// type id (get: vehicles, polygons, pois)
1018
TRACI_CONST int VAR_TYPE = 0x4f;
1019
1020
// road id (get: vehicles)
1021
TRACI_CONST int VAR_ROAD_ID = 0x50;
1022
1023
// lane id (get: vehicles, inductionloop, lane area detector)
1024
TRACI_CONST int VAR_LANE_ID = 0x51;
1025
1026
// lane index (get: vehicle, edge)
1027
TRACI_CONST int VAR_LANE_INDEX = 0x52;
1028
1029
// segment id (get: vehicle)
1030
TRACI_CONST int VAR_SEGMENT_ID = 0xa1;
1031
1032
// segment index (get: vehicle)
1033
TRACI_CONST int VAR_SEGMENT_INDEX = 0xa2;
1034
1035
// route id (get & set: vehicles)
1036
TRACI_CONST int VAR_ROUTE_ID = 0x53;
1037
1038
// edges (get: routes, vehicles)
1039
TRACI_CONST int VAR_EDGES = 0x54;
1040
1041
// filled? (set: vehicles)
1042
TRACI_CONST int VAR_STOP_PARAMETER = 0x55;
1043
1044
// lanes (get: variablespeedsign, multi-entry/multi-exit detector)
1045
TRACI_CONST int VAR_LANES = 0x30;
1046
1047
// exit lanes (get: multi-entry/multi-exit detector)
1048
TRACI_CONST int VAR_EXIT_LANES = 0x31;
1049
1050
// update bestLanes (set: vehicle)
1051
TRACI_CONST int VAR_UPDATE_BESTLANES = 0x6a;
1052
1053
// filled? (get: polygons)
1054
TRACI_CONST int VAR_FILL = 0x55;
1055
1056
// get/set image file (poi, poly, vehicle, person, simulation)
1057
TRACI_CONST int VAR_IMAGEFILE = 0x93;
1058
1059
// position (1D along lane) (get: vehicle)
1060
TRACI_CONST int VAR_LANEPOSITION = 0x56;
1061
1062
// route (set: vehicles)
1063
TRACI_CONST int VAR_ROUTE = 0x57;
1064
1065
// travel time information (get&set: vehicle)
1066
TRACI_CONST int VAR_EDGE_TRAVELTIME = 0x58;
1067
1068
// effort information (get&set: vehicle)
1069
TRACI_CONST int VAR_EDGE_EFFORT = 0x59;
1070
1071
// last step travel time (get: edge, lane, e3)
1072
TRACI_CONST int VAR_CURRENT_TRAVELTIME = 0x5a;
1073
1074
// signals state (get/set: vehicle)
1075
TRACI_CONST int VAR_SIGNALS = 0x5b;
1076
1077
// vehicle: new lane/position along (set: vehicle)
1078
TRACI_CONST int VAR_MOVE_TO = 0x5c;
1079
1080
// polygon: add dynamics (set: polygon)
1081
TRACI_CONST int VAR_ADD_DYNAMICS = 0x5c;
1082
1083
// vehicle: highlight (set: vehicle, poi)
1084
TRACI_CONST int VAR_HIGHLIGHT = 0x6c;
1085
1086
// driver imperfection (set: vehicle)
1087
TRACI_CONST int VAR_IMPERFECTION = 0x5d;
1088
1089
// speed factor (set: vehicle)
1090
TRACI_CONST int VAR_SPEED_FACTOR = 0x5e;
1091
1092
// speed deviation (set: vehicle)
1093
TRACI_CONST int VAR_SPEED_DEVIATION = 0x5f;
1094
1095
// routing mode (get/set: vehicle)
1096
TRACI_CONST int VAR_ROUTING_MODE = 0x89;
1097
1098
// speed without TraCI influence (get: vehicle)
1099
TRACI_CONST int VAR_SPEED_WITHOUT_TRACI = 0xb1;
1100
1101
// best lanes (get: vehicle)
1102
TRACI_CONST int VAR_BEST_LANES = 0xb2;
1103
1104
// how speed is set (set: vehicle)
1105
TRACI_CONST int VAR_SPEEDSETMODE = 0xb3;
1106
1107
// move vehicle to explicit (remote controlled) position (set: vehicle)
1108
TRACI_CONST int MOVE_TO_XY = 0xb4;
1109
1110
// is the vehicle stopped, and if so parked and/or triggered?
1111
// value = stopped + 2 * parking + 4 * triggered
1112
TRACI_CONST int VAR_STOPSTATE = 0xb5;
1113
1114
// how lane changing is performed (get/set: vehicle)
1115
TRACI_CONST int VAR_LANECHANGE_MODE = 0xb6;
1116
1117
// maximum speed regarding max speed on the current lane and speed factor (get: vehicle)
1118
TRACI_CONST int VAR_ALLOWED_SPEED = 0xb7;
1119
1120
// position (1D lateral position relative to center of the current lane) (get: vehicle)
1121
TRACI_CONST int VAR_LANEPOSITION_LAT = 0xb8;
1122
1123
// get/set prefered lateral alignment within the lane (vehicle)
1124
TRACI_CONST int VAR_LATALIGNMENT = 0xb9;
1125
1126
// get/set maximum lateral speed (vehicle, vtypes)
1127
TRACI_CONST int VAR_MAXSPEED_LAT = 0xba;
1128
1129
// get/set minimum lateral gap (vehicle, vtypes)
1130
TRACI_CONST int VAR_MINGAP_LAT = 0xbb;
1131
1132
// get/set vehicle height (vehicle, vtypes, poi)
1133
TRACI_CONST int VAR_HEIGHT = 0xbc;
1134
1135
// get/set mass (vehicle, vtype)
1136
TRACI_CONST int VAR_MASS = 0xc8;
1137
1138
// get/set vehicle line
1139
TRACI_CONST int VAR_LINE = 0xbd;
1140
1141
// get/set vehicle via
1142
TRACI_CONST int VAR_VIA = 0xbe;
1143
1144
// get (lane change relevant) neighboring vehicles (vehicles)
1145
TRACI_CONST int VAR_NEIGHBORS = 0xbf;
1146
1147
// current CO2 emission of a node (get: vehicle, lane, edge)
1148
TRACI_CONST int VAR_CO2EMISSION = 0x60;
1149
1150
// current CO emission of a node (get: vehicle, lane, edge)
1151
TRACI_CONST int VAR_COEMISSION = 0x61;
1152
1153
// current HC emission of a node (get: vehicle, lane, edge)
1154
TRACI_CONST int VAR_HCEMISSION = 0x62;
1155
1156
// current PMx emission of a node (get: vehicle, lane, edge)
1157
TRACI_CONST int VAR_PMXEMISSION = 0x63;
1158
1159
// current NOx emission of a node (get: vehicle, lane, edge)
1160
TRACI_CONST int VAR_NOXEMISSION = 0x64;
1161
1162
// current fuel consumption of a node (get: vehicle, lane, edge)
1163
TRACI_CONST int VAR_FUELCONSUMPTION = 0x65;
1164
1165
// current noise emission of a node (get: vehicle, lane, edge)
1166
TRACI_CONST int VAR_NOISEEMISSION = 0x66;
1167
1168
// current person number (get: vehicle, trafficlight)
1169
TRACI_CONST int VAR_PERSON_NUMBER = 0x67;
1170
1171
// person capacity (vehicle, vehicle type)
1172
TRACI_CONST int VAR_PERSON_CAPACITY = 0x38;
1173
1174
// departure time (vehicle, person)
1175
TRACI_CONST int VAR_DEPARTURE = 0x3a;
1176
1177
// departure delay (vehicle, person)
1178
TRACI_CONST int VAR_DEPART_DELAY = 0x3b;
1179
1180
// boarding time (get: vehicle type, vehicle, person)
1181
TRACI_CONST int VAR_BOARDING_DURATION = 0x2f;
1182
1183
// impatience (get,set: vehicle type, vehicle, person)
1184
TRACI_CONST int VAR_IMPATIENCE = 0x26;
1185
1186
TRACI_CONST int VAR_BUS_STOP_ID_LIST = 0x9f;
1187
1188
// number of persons waiting at a defined bus stop (get: simulation)
1189
TRACI_CONST int VAR_BUS_STOP_WAITING = 0x67;
1190
1191
// ids of persons waiting at a defined bus stop (get: simulation)
1192
TRACI_CONST int VAR_BUS_STOP_WAITING_IDS = 0xef;
1193
1194
// current leader together with gap (get: vehicle)
1195
TRACI_CONST int VAR_LEADER = 0x68;
1196
1197
// current leader together with gap (get: vehicle)
1198
TRACI_CONST int VAR_FOLLOWER = 0x78;
1199
1200
// edge index in current route (get: vehicle)
1201
TRACI_CONST int VAR_ROUTE_INDEX = 0x69;
1202
1203
// current waiting time (get: vehicle, lane)
1204
TRACI_CONST int VAR_WAITING_TIME = 0x7a;
1205
1206
// current waiting time (get: vehicle)
1207
TRACI_CONST int VAR_ACCUMULATED_WAITING_TIME = 0x87;
1208
1209
// upcoming traffic lights (get: vehicle)
1210
TRACI_CONST int VAR_NEXT_TLS = 0x70;
1211
1212
// upcoming stops (get: vehicle)
1213
TRACI_CONST int VAR_NEXT_STOPS = 0x73;
1214
1215
// upcoming stops with selection (get: vehicle)
1216
TRACI_CONST int VAR_NEXT_STOPS2 = 0x74;
1217
1218
// upcoming links(get: vehicle)
1219
TRACI_CONST int VAR_NEXT_LINKS = 0x33;
1220
1221
// current acceleration (get,set: vehicle)
1222
TRACI_CONST int VAR_ACCELERATION = 0x72;
1223
1224
// arrival position (get,set: vehicle)
1225
TRACI_CONST int VAR_ARRIVALPOS = 0x75;
1226
1227
// arrival lane (get,set: vehicle)
1228
TRACI_CONST int VAR_ARRIVALLANE = 0x76;
1229
1230
// arrival speed (get,set: vehicle)
1231
TRACI_CONST int VAR_ARRIVALSPEED = 0x77;
1232
1233
// add log message (set: simulation)
1234
TRACI_CONST int CMD_MESSAGE = 0x65;
1235
1236
// current time in seconds (get: simulation)
1237
TRACI_CONST int VAR_TIME = 0x66;
1238
1239
// current time step (get: simulation)
1240
TRACI_CONST int VAR_TIME_STEP = 0x70;
1241
1242
// current electricity consumption of a node (get: vehicle, lane, edge)
1243
TRACI_CONST int VAR_ELECTRICITYCONSUMPTION = 0x71;
1244
1245
// number of loaded vehicles (get: simulation)
1246
TRACI_CONST int VAR_LOADED_VEHICLES_NUMBER = 0x71;
1247
1248
// loaded vehicle ids (get: simulation)
1249
TRACI_CONST int VAR_LOADED_VEHICLES_IDS = 0x72;
1250
1251
// number of departed vehicle (get: simulation)
1252
TRACI_CONST int VAR_DEPARTED_VEHICLES_NUMBER = 0x73;
1253
1254
// departed vehicle ids (get: simulation)
1255
TRACI_CONST int VAR_DEPARTED_VEHICLES_IDS = 0x74;
1256
1257
// number of vehicles starting to teleport (get: simulation)
1258
TRACI_CONST int VAR_TELEPORT_STARTING_VEHICLES_NUMBER = 0x75;
1259
1260
// ids of vehicles starting to teleport (get: simulation)
1261
TRACI_CONST int VAR_TELEPORT_STARTING_VEHICLES_IDS = 0x76;
1262
1263
// number of vehicles ending to teleport (get: simulation)
1264
TRACI_CONST int VAR_TELEPORT_ENDING_VEHICLES_NUMBER = 0x77;
1265
1266
// ids of vehicles ending to teleport (get: simulation)
1267
TRACI_CONST int VAR_TELEPORT_ENDING_VEHICLES_IDS = 0x78;
1268
1269
// number of arrived vehicles (get: simulation)
1270
TRACI_CONST int VAR_ARRIVED_VEHICLES_NUMBER = 0x79;
1271
1272
// ids of arrived vehicles (get: simulation)
1273
TRACI_CONST int VAR_ARRIVED_VEHICLES_IDS = 0x7a;
1274
1275
// delta t (get: simulation)
1276
TRACI_CONST int VAR_DELTA_T = 0x7b;
1277
1278
// bounding box (get: simulation)
1279
TRACI_CONST int VAR_NET_BOUNDING_BOX = 0x7c;
1280
1281
// minimum number of expected vehicles (get: simulation)
1282
TRACI_CONST int VAR_MIN_EXPECTED_VEHICLES = 0x7d;
1283
1284
// number of departed persons (get: simulation)
1285
TRACI_CONST int VAR_DEPARTED_PERSONS_NUMBER = 0x24;
1286
1287
// departed person ids (get: simulation)
1288
TRACI_CONST int VAR_DEPARTED_PERSONS_IDS = 0x25;
1289
1290
// number of arrived persons (get: simulation)
1291
TRACI_CONST int VAR_ARRIVED_PERSONS_NUMBER = 0x26;
1292
1293
// ids of arrived persons (get: simulation)
1294
TRACI_CONST int VAR_ARRIVED_PERSONS_IDS = 0x27;
1295
1296
// number of vehicles starting to park (get: simulation)
1297
TRACI_CONST int VAR_STOP_STARTING_VEHICLES_NUMBER = 0x68;
1298
1299
// ids of vehicles starting to park (get: simulation)
1300
TRACI_CONST int VAR_STOP_STARTING_VEHICLES_IDS = 0x69;
1301
1302
// number of vehicles ending to park (get: simulation)
1303
TRACI_CONST int VAR_STOP_ENDING_VEHICLES_NUMBER = 0x6a;
1304
1305
// ids of vehicles ending to park (get: simulation)
1306
TRACI_CONST int VAR_STOP_ENDING_VEHICLES_IDS = 0x6b;
1307
1308
// number of vehicles starting to park (get: simulation)
1309
TRACI_CONST int VAR_PARKING_STARTING_VEHICLES_NUMBER = 0x6c;
1310
1311
// ids of vehicles starting to park (get: simulation)
1312
TRACI_CONST int VAR_PARKING_STARTING_VEHICLES_IDS = 0x6d;
1313
1314
// number of vehicles maneuvering (get: simulation)
1315
TRACI_CONST int VAR_PARKING_MANEUVERING_VEHICLES_NUMBER = 0x3a;
1316
1317
// ids of vehicles maneuvering (get: simulation)
1318
TRACI_CONST int VAR_PARKING_MANEUVERING_VEHICLES_IDS = 0x3b;
1319
1320
// number of vehicles ending to park (get: simulation)
1321
TRACI_CONST int VAR_PARKING_ENDING_VEHICLES_NUMBER = 0x6e;
1322
1323
// ids of vehicles ending to park (get: simulation)
1324
TRACI_CONST int VAR_PARKING_ENDING_VEHICLES_IDS = 0x6f;
1325
1326
// number of vehicles involved in a collision (get: simulation)
1327
TRACI_CONST int VAR_COLLIDING_VEHICLES_NUMBER = 0x80;
1328
1329
// ids of vehicles involved in a collision (get: simulation)
1330
TRACI_CONST int VAR_COLLIDING_VEHICLES_IDS = 0x81;
1331
1332
// number of vehicles involved in a collision (get: simulation)
1333
TRACI_CONST int VAR_EMERGENCYSTOPPING_VEHICLES_NUMBER = 0x89;
1334
1335
// ids of vehicles involved in a collision (get: simulation)
1336
TRACI_CONST int VAR_EMERGENCYSTOPPING_VEHICLES_IDS = 0x8a;
1337
1338
// scale traffic (set, get: simulation, vehicle)
1339
TRACI_CONST int VAR_SCALE = 0x8e;
1340
1341
// clears the simulation of all not inserted vehicles (set: simulation)
1342
TRACI_CONST int CMD_CLEAR_PENDING_VEHICLES = 0x94;
1343
1344
// retrieve number of not inserted vehicles (get: simulation, edge, lane)
1345
TRACI_CONST int VAR_PENDING_VEHICLES = 0x94;
1346
1347
// retrieve global option value (get: simulation)
1348
TRACI_CONST int VAR_OPTION = 0x32;
1349
1350
// triggers saving simulation state (set: simulation)
1351
TRACI_CONST int CMD_SAVE_SIMSTATE = 0x95;
1352
1353
// triggers saving simulation state (set: simulation)
1354
TRACI_CONST int CMD_LOAD_SIMSTATE = 0x96;
1355
1356
// retrieve detail data for each collision
1357
TRACI_CONST int VAR_COLLISIONS = 0x23;
1358
1359
// return loaded vehicles regardless of visibility (excluding arrived)
1360
TRACI_CONST int VAR_LOADED_LIST = 0x24;
1361
1362
// return teleporting vehicles
1363
TRACI_CONST int VAR_TELEPORTING_LIST = 0x25;
1364
1365
// sets/retrieves abstract parameter
1366
TRACI_CONST int VAR_PARAMETER = 0x7e;
1367
1368
// retrieves abstract parameter and returns (key, value) tuple
1369
TRACI_CONST int VAR_PARAMETER_WITH_KEY = 0x3e;
1370
1371
// add an instance (poi, polygon, vehicle, person, route, gui)
1372
TRACI_CONST int ADD = 0x80;
1373
1374
// remove an instance (poi, polygon, vehicle, person, gui, route)
1375
TRACI_CONST int REMOVE = 0x81;
1376
1377
// copy an instance (vehicle type, other TBD.)
1378
TRACI_CONST int COPY = 0x88;
1379
1380
// convert coordinates
1381
TRACI_CONST int POSITION_CONVERSION = 0x82;
1382
1383
// distance between points or vehicles
1384
TRACI_CONST int DISTANCE_REQUEST = 0x83;
1385
1386
// the current driving distance
1387
TRACI_CONST int VAR_DISTANCE = 0x84;
1388
1389
// add a fully specified instance (vehicle)
1390
TRACI_CONST int ADD_FULL = 0x85;
1391
1392
// find a car based route
1393
TRACI_CONST int FIND_ROUTE = 0x86;
1394
1395
// find an intermodal route
1396
TRACI_CONST int FIND_INTERMODAL_ROUTE = 0x87;
1397
1398
// force rerouting based on travel time (vehicles)
1399
TRACI_CONST int CMD_REROUTE_TRAVELTIME = 0x90;
1400
1401
// force rerouting based on effort (vehicles)
1402
TRACI_CONST int CMD_REROUTE_EFFORT = 0x91;
1403
1404
// validates current route (vehicles)
1405
TRACI_CONST int VAR_ROUTE_VALID = 0x92;
1406
1407
// retrieve information regarding the current person/container stage
1408
TRACI_CONST int VAR_STAGE = 0xc0;
1409
1410
// retrieve information regarding the next edge including crossings and walkingAreas (pedestrians only)
1411
TRACI_CONST int VAR_NEXT_EDGE = 0xc1;
1412
1413
// retrieve information regarding the number of remaining stages
1414
TRACI_CONST int VAR_STAGES_REMAINING = 0xc2;
1415
1416
// retrieve the current vehicle id for the driving stage (person, container)
1417
TRACI_CONST int VAR_VEHICLE = 0xc3;
1418
1419
// append a person stage (person)
1420
TRACI_CONST int APPEND_STAGE = 0xc4;
1421
1422
// replace a person stage (person)
1423
TRACI_CONST int REPLACE_STAGE = 0xcd;
1424
1425
// append a person stage (person)
1426
TRACI_CONST int REMOVE_STAGE = 0xc5;
1427
1428
// retrieve taxi reservation (person)
1429
TRACI_CONST int VAR_TAXI_RESERVATIONS = 0xc6;
1430
1431
// manipulate taxi reservation (person)
1432
TRACI_CONST int SPLIT_TAXI_RESERVATIONS = 0xc7;
1433
1434
// sample last route (routeprobe)
1435
TRACI_CONST int VAR_SAMPLE_LAST = 0x20;
1436
1437
// sample current route (routeprobe)
1438
TRACI_CONST int VAR_SAMPLE_CURRENT = 0x21;
1439
1440
// zoom
1441
TRACI_CONST int VAR_VIEW_ZOOM = 0xa0;
1442
1443
// view position
1444
TRACI_CONST int VAR_VIEW_OFFSET = 0xa1;
1445
1446
// view schema
1447
TRACI_CONST int VAR_VIEW_SCHEMA = 0xa2;
1448
1449
// view by boundary
1450
TRACI_CONST int VAR_VIEW_BOUNDARY = 0xa3;
1451
1452
// select/deselect object (gui)
1453
TRACI_CONST int VAR_SELECT = 0xa4;
1454
1455
// screenshot
1456
TRACI_CONST int VAR_SCREENSHOT = 0xa5;
1457
1458
// track vehicle
1459
TRACI_CONST int VAR_TRACK_VEHICLE = 0xa6;
1460
1461
// presence of view
1462
TRACI_CONST int VAR_HAS_VIEW = 0xa7;
1463
1464
// charging station power
1465
TRACI_CONST int VAR_CS_POWER = 0x97;
1466
1467
// charging station power
1468
TRACI_CONST int VAR_CS_EFFICIENCY = 0x98;
1469
1470
// charging station power
1471
TRACI_CONST int VAR_CS_CHARGE_IN_TRANSIT = 0x99;
1472
1473
// charging station power
1474
TRACI_CONST int VAR_CS_CHARGE_DELAY = 0x9a;
1475
1476
// parking area access permissions
1477
TRACI_CONST int VAR_ACCESS_BADGE = 0x9b;
1478
1479
} // namespace libsumo
1480
1481
#undef TRACI_CONST
1482
1483