SUMO - Simulation of Urban MObility
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
TraCIConstants.h
Go to the documentation of this file.
1
/****************************************************************************/
15
/****************************************************************************/
16
// SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
17
// Copyright (C) 2001-2013 DLR (http://www.dlr.de/) and contributors
18
/****************************************************************************/
19
//
20
// This file is part of SUMO.
21
// SUMO is free software: you can redistribute it and/or modify
22
// it under the terms of the GNU General Public License as published by
23
// the Free Software Foundation, either version 3 of the License, or
24
// (at your option) any later version.
25
//
26
/****************************************************************************/
27
#ifndef TRACICONSTANTS_H
28
#define TRACICONSTANTS_H
29
30
31
// ****************************************
32
// VERSION
33
// ****************************************
34
#define TRACI_VERSION 5
35
36
37
// ****************************************
38
// COMMANDS
39
// ****************************************
40
// command: get version
41
#define CMD_GETVERSION 0x00
42
43
// command: simulation step
44
#define CMD_SIMSTEP2 0x02
45
46
// command: stop node
47
#define CMD_STOP 0x12
48
49
// command: set lane
50
#define CMD_CHANGELANE 0x13
51
52
// command: slow down
53
#define CMD_SLOWDOWN 0x14
54
55
// command: change target
56
#define CMD_CHANGETARGET 0x31
57
58
// command: add vehicle
59
#define CMD_ADDVEHICLE 0x74
60
61
// command: close sumo
62
#define CMD_CLOSE 0x7F
63
64
65
// command: subscribe induction loop (e1) context
66
#define CMD_SUBSCRIBE_INDUCTIONLOOP_CONTEXT 0x80
67
// response: subscribe induction loop (e1) context
68
#define RESPONSE_SUBSCRIBE_INDUCTIONLOOP_CONTEXT 0x90
69
// command: get induction loop (e1) variable
70
#define CMD_GET_INDUCTIONLOOP_VARIABLE 0xa0
71
// response: get induction loop (e1) variable
72
#define RESPONSE_GET_INDUCTIONLOOP_VARIABLE 0xb0
73
// command: subscribe induction loop (e1) variable
74
#define CMD_SUBSCRIBE_INDUCTIONLOOP_VARIABLE 0xd0
75
// response: subscribe induction loop (e1) variable
76
#define RESPONSE_SUBSCRIBE_INDUCTIONLOOP_VARIABLE 0xe0
77
78
// command: subscribe areal detector (e3) context
79
#define CMD_SUBSCRIBE_MULTI_ENTRY_EXIT_DETECTOR_CONTEXT 0x81
80
// response: subscribe areal detector (e3) context
81
#define RESPONSE_SUBSCRIBE_MULTI_ENTRY_EXIT_DETECTOR_CONTEXT 0x91
82
// command: get multi-entry/multi-exit detector (e3) variable
83
#define CMD_GET_MULTI_ENTRY_EXIT_DETECTOR_VARIABLE 0xa1
84
// response: get areal detector (e3) variable
85
#define RESPONSE_GET_MULTI_ENTRY_EXIT_DETECTOR_VARIABLE 0xb1
86
// command: subscribe multi-entry/multi-exit detector (e3) variable
87
#define CMD_SUBSCRIBE_MULTI_ENTRY_EXIT_DETECTOR_VARIABLE 0xd1
88
// response: subscribe areal detector (e3) variable
89
#define RESPONSE_SUBSCRIBE_MULTI_ENTRY_EXIT_DETECTOR_VARIABLE 0xe1
90
91
// command: subscribe traffic lights context
92
#define CMD_SUBSCRIBE_TL_CONTEXT 0x82
93
// response: subscribe traffic lights context
94
#define RESPONSE_SUBSCRIBE_TL_CONTEXT 0x92
95
// command: get traffic lights variable
96
#define CMD_GET_TL_VARIABLE 0xa2
97
// response: get traffic lights variable
98
#define RESPONSE_GET_TL_VARIABLE 0xb2
99
// command: set traffic lights variable
100
#define CMD_SET_TL_VARIABLE 0xc2
101
// command: subscribe traffic lights variable
102
#define CMD_SUBSCRIBE_TL_VARIABLE 0xd2
103
// response: subscribe traffic lights variable
104
#define RESPONSE_SUBSCRIBE_TL_VARIABLE 0xe2
105
106
// command: subscribe lane context
107
#define CMD_SUBSCRIBE_LANE_CONTEXT 0x83
108
// response: subscribe lane context
109
#define RESPONSE_SUBSCRIBE_LANE_CONTEXT 0x93
110
// command: get lane variable
111
#define CMD_GET_LANE_VARIABLE 0xa3
112
// response: get lane variable
113
#define RESPONSE_GET_LANE_VARIABLE 0xb3
114
// command: set lane variable
115
#define CMD_SET_LANE_VARIABLE 0xc3
116
// command: subscribe lane variable
117
#define CMD_SUBSCRIBE_LANE_VARIABLE 0xd3
118
// response: subscribe lane variable
119
#define RESPONSE_SUBSCRIBE_LANE_VARIABLE 0xe3
120
121
// command: subscribe vehicle context
122
#define CMD_SUBSCRIBE_VEHICLE_CONTEXT 0x84
123
// response: subscribe vehicle context
124
#define RESPONSE_SUBSCRIBE_VEHICLE_CONTEXT 0x94
125
// command: get vehicle variable
126
#define CMD_GET_VEHICLE_VARIABLE 0xa4
127
// response: get vehicle variable
128
#define RESPONSE_GET_VEHICLE_VARIABLE 0xb4
129
// command: set vehicle variable
130
#define CMD_SET_VEHICLE_VARIABLE 0xc4
131
// command: subscribe vehicle variable
132
#define CMD_SUBSCRIBE_VEHICLE_VARIABLE 0xd4
133
// response: subscribe vehicle variable
134
#define RESPONSE_SUBSCRIBE_VEHICLE_VARIABLE 0xe4
135
136
// command: subscribe vehicle type context
137
#define CMD_SUBSCRIBE_VEHICLETYPE_CONTEXT 0x85
138
// response: subscribe vehicle type context
139
#define RESPONSE_SUBSCRIBE_VEHICLETYPE_CONTEXT 0x95
140
// command: get vehicle type variable
141
#define CMD_GET_VEHICLETYPE_VARIABLE 0xa5
142
// response: get vehicle type variable
143
#define RESPONSE_GET_VEHICLETYPE_VARIABLE 0xb5
144
// command: set vehicle type variable
145
#define CMD_SET_VEHICLETYPE_VARIABLE 0xc5
146
// command: subscribe vehicle type variable
147
#define CMD_SUBSCRIBE_VEHICLETYPE_VARIABLE 0xd5
148
// response: subscribe vehicle type variable
149
#define RESPONSE_SUBSCRIBE_VEHICLETYPE_VARIABLE 0xe5
150
151
// command: subscribe route context
152
#define CMD_SUBSCRIBE_ROUTE_CONTEXT 0x86
153
// response: subscribe route context
154
#define RESPONSE_SUBSCRIBE_ROUTE_CONTEXT 0x96
155
// command: get route variable
156
#define CMD_GET_ROUTE_VARIABLE 0xa6
157
// response: get route variable
158
#define RESPONSE_GET_ROUTE_VARIABLE 0xb6
159
// command: set route variable
160
#define CMD_SET_ROUTE_VARIABLE 0xc6
161
// command: subscribe route variable
162
#define CMD_SUBSCRIBE_ROUTE_VARIABLE 0xd6
163
// response: subscribe route variable
164
#define RESPONSE_SUBSCRIBE_ROUTE_VARIABLE 0xe6
165
166
// command: subscribe poi context
167
#define CMD_SUBSCRIBE_POI_CONTEXT 0x87
168
// response: subscribe poi context
169
#define RESPONSE_SUBSCRIBE_POI_CONTEXT 0x97
170
// command: get poi variable
171
#define CMD_GET_POI_VARIABLE 0xa7
172
// response: get poi variable
173
#define RESPONSE_GET_POI_VARIABLE 0xb7
174
// command: set poi variable
175
#define CMD_SET_POI_VARIABLE 0xc7
176
// command: subscribe poi variable
177
#define CMD_SUBSCRIBE_POI_VARIABLE 0xd7
178
// response: subscribe poi variable
179
#define RESPONSE_SUBSCRIBE_POI_VARIABLE 0xe7
180
181
// command: subscribe polygon context
182
#define CMD_SUBSCRIBE_POLYGON_CONTEXT 0x88
183
// response: subscribe polygon context
184
#define RESPONSE_SUBSCRIBE_POLYGON_CONTEXT 0x98
185
// command: get polygon variable
186
#define CMD_GET_POLYGON_VARIABLE 0xa8
187
// response: get polygon variable
188
#define RESPONSE_GET_POLYGON_VARIABLE 0xb8
189
// command: set polygon variable
190
#define CMD_SET_POLYGON_VARIABLE 0xc8
191
// command: subscribe polygon variable
192
#define CMD_SUBSCRIBE_POLYGON_VARIABLE 0xd8
193
// response: subscribe polygon variable
194
#define RESPONSE_SUBSCRIBE_POLYGON_VARIABLE 0xe8
195
196
// command: subscribe junction context
197
#define CMD_SUBSCRIBE_JUNCTION_CONTEXT 0x89
198
// response: subscribe junction context
199
#define RESPONSE_SUBSCRIBE_JUNCTION_CONTEXT 0x99
200
// command: get junction variable
201
#define CMD_GET_JUNCTION_VARIABLE 0xa9
202
// response: get junction variable
203
#define RESPONSE_GET_JUNCTION_VARIABLE 0xb9
204
// command: set junction variable
205
#define CMD_SET_JUNCTION_VARIABLE 0xc9
206
// command: subscribe junction variable
207
#define CMD_SUBSCRIBE_JUNCTION_VARIABLE 0xd9
208
// response: subscribe junction variable
209
#define RESPONSE_SUBSCRIBE_JUNCTION_VARIABLE 0xe9
210
211
// command: subscribe edge context
212
#define CMD_SUBSCRIBE_EDGE_CONTEXT 0x8a
213
// response: subscribe edge context
214
#define RESPONSE_SUBSCRIBE_EDGE_CONTEXT 0x9a
215
// command: get edge variable
216
#define CMD_GET_EDGE_VARIABLE 0xaa
217
// response: get edge variable
218
#define RESPONSE_GET_EDGE_VARIABLE 0xba
219
// command: set edge variable
220
#define CMD_SET_EDGE_VARIABLE 0xca
221
// command: subscribe edge variable
222
#define CMD_SUBSCRIBE_EDGE_VARIABLE 0xda
223
// response: subscribe edge variable
224
#define RESPONSE_SUBSCRIBE_EDGE_VARIABLE 0xea
225
226
// command: subscribe simulation context
227
#define CMD_SUBSCRIBE_SIM_CONTEXT 0x8b
228
// response: subscribe simulation context
229
#define RESPONSE_SUBSCRIBE_SIM_CONTEXT 0x9b
230
// command: get simulation variable
231
#define CMD_GET_SIM_VARIABLE 0xab
232
// response: get simulation variable
233
#define RESPONSE_GET_SIM_VARIABLE 0xbb
234
// command: set simulation variable
235
#define CMD_SET_SIM_VARIABLE 0xcb
236
// command: subscribe simulation variable
237
#define CMD_SUBSCRIBE_SIM_VARIABLE 0xdb
238
// response: subscribe simulation variable
239
#define RESPONSE_SUBSCRIBE_SIM_VARIABLE 0xeb
240
241
// command: subscribe GUI context
242
#define CMD_SUBSCRIBE_GUI_CONTEXT 0x8c
243
// response: subscribe GUI context
244
#define RESPONSE_SUBSCRIBE_GUI_CONTEXT 0x9c
245
// command: get GUI variable
246
#define CMD_GET_GUI_VARIABLE 0xac
247
// response: get GUI variable
248
#define RESPONSE_GET_GUI_VARIABLE 0xbc
249
// command: set GUI variable
250
#define CMD_SET_GUI_VARIABLE 0xcc
251
// command: subscribe GUI variable
252
#define CMD_SUBSCRIBE_GUI_VARIABLE 0xdc
253
// response: subscribe GUI variable
254
#define RESPONSE_SUBSCRIBE_GUI_VARIABLE 0xec
255
256
257
// ****************************************
258
// POSITION REPRESENTATIONS
259
// ****************************************
260
// Position in geo-coordinates
261
#define POSITION_LAT_LON 0x00
262
// 2D cartesian coordinates
263
#define POSITION_2D 0x01
264
// Position in geo-coordinates with altitude
265
#define POSITION_LAT_LON_ALT 0x02
266
// 3D cartesian coordinates
267
#define POSITION_3D 0x03
268
// Position on road map
269
#define POSITION_ROADMAP 0x04
270
271
272
// ****************************************
273
// DATA TYPES
274
// ****************************************
275
// Boundary Box (4 doubles)
276
#define TYPE_BOUNDINGBOX 0x05
277
// Polygon (2*n doubles)
278
#define TYPE_POLYGON 0x06
279
// unsigned byte
280
#define TYPE_UBYTE 0x07
281
// signed byte
282
#define TYPE_BYTE 0x08
283
// 32 bit signed integer
284
#define TYPE_INTEGER 0x09
285
// float
286
#define TYPE_FLOAT 0x0A
287
// double
288
#define TYPE_DOUBLE 0x0B
289
// 8 bit ASCII string
290
#define TYPE_STRING 0x0C
291
// list of traffic light phases
292
#define TYPE_TLPHASELIST 0x0D
293
// list of strings
294
#define TYPE_STRINGLIST 0x0E
295
// compound object
296
#define TYPE_COMPOUND 0x0F
297
// color (four ubytes)
298
#define TYPE_COLOR 0x11
299
300
301
// ****************************************
302
// RESULT TYPES
303
// ****************************************
304
// result type: Ok
305
#define RTYPE_OK 0x00
306
// result type: not implemented
307
#define RTYPE_NOTIMPLEMENTED 0x01
308
// result type: error
309
#define RTYPE_ERR 0xFF
310
311
// return value for invalid queries (especially vehicle is not on the road)
312
#define INVALID_DOUBLE_VALUE -1001.
313
// return value for invalid queries (especially vehicle is not on the road)
314
#define INVALID_INT_VALUE -1
315
316
317
// ****************************************
318
// TRAFFIC LIGHT PHASES
319
// ****************************************
320
// red phase
321
#define TLPHASE_RED 0x01
322
// yellow phase
323
#define TLPHASE_YELLOW 0x02
324
// green phase
325
#define TLPHASE_GREEN 0x03
326
// tl is blinking
327
#define TLPHASE_BLINKING 0x04
328
// tl is off and not blinking
329
#define TLPHASE_NOSIGNAL 0x05
330
331
332
// ****************************************
333
// DIFFERENT DISTANCE REQUESTS
334
// ****************************************
335
// air distance
336
#define REQUEST_AIRDIST 0x00
337
// driving distance
338
#define REQUEST_DRIVINGDIST 0x01
339
340
341
// ****************************************
342
// VEHICLE REMOVAL REASONS
343
// ****************************************
344
// vehicle started teleport
345
#define REMOVE_TELEPORT 0x00
346
// vehicle removed while parking
347
#define REMOVE_PARKING 0x01
348
// vehicle arrived
349
#define REMOVE_ARRIVED 0x02
350
// vehicle was vaporized
351
#define REMOVE_VAPORIZED 0x03
352
// vehicle finished route during teleport
353
#define REMOVE_TELEPORT_ARRIVED 0x04
354
355
356
// ****************************************
357
// VARIABLE TYPES (for CMD_GET_*_VARIABLE)
358
// ****************************************
359
// list of instances' ids (get: all)
360
#define ID_LIST 0x00
361
362
// count of instances (get: all)
363
#define ID_COUNT 0x01
364
365
// subscribe object variables (get: all)
366
#define OBJECT_VARIABLES_SUBSCRIPTION 0x02
367
368
// subscribe context variables (get: all)
369
#define SURROUNDING_VARIABLES_SUBSCRIPTION 0x03
370
371
// last step vehicle number (get: induction loops, multi-entry/multi-exit detector, lanes, edges)
372
#define LAST_STEP_VEHICLE_NUMBER 0x10
373
374
// last step vehicle number (get: induction loops, multi-entry/multi-exit detector, lanes, edges)
375
#define LAST_STEP_MEAN_SPEED 0x11
376
377
// last step vehicle number (get: induction loops, multi-entry/multi-exit detector, lanes, edges)
378
#define LAST_STEP_VEHICLE_ID_LIST 0x12
379
380
// last step occupancy (get: induction loops, lanes, edges)
381
#define LAST_STEP_OCCUPANCY 0x13
382
383
// last step vehicle halting number (get: multi-entry/multi-exit detector, lanes, edges)
384
#define LAST_STEP_VEHICLE_HALTING_NUMBER 0x14
385
386
// last step mean vehicle length (get: induction loops, lanes, edges)
387
#define LAST_STEP_LENGTH 0x15
388
389
// last step time since last detection (get: induction loops)
390
#define LAST_STEP_TIME_SINCE_DETECTION 0x16
391
392
// entry times
393
#define LAST_STEP_VEHICLE_DATA 0x17
394
395
396
// traffic light states, encoded as rRgGyYoO tuple (get: traffic lights)
397
#define TL_RED_YELLOW_GREEN_STATE 0x20
398
399
// index of the phase (set: traffic lights)
400
#define TL_PHASE_INDEX 0x22
401
402
// traffic light program (set: traffic lights)
403
#define TL_PROGRAM 0x23
404
405
// phase duration (set: traffic lights)
406
#define TL_PHASE_DURATION 0x24
407
408
// controlled lanes (get: traffic lights)
409
#define TL_CONTROLLED_LANES 0x26
410
411
// controlled links (get: traffic lights)
412
#define TL_CONTROLLED_LINKS 0x27
413
414
// index of the current phase (get: traffic lights)
415
#define TL_CURRENT_PHASE 0x28
416
417
// name of the current program (get: traffic lights)
418
#define TL_CURRENT_PROGRAM 0x29
419
420
// controlled junctions (get: traffic lights)
421
#define TL_CONTROLLED_JUNCTIONS 0x2a
422
423
// complete definition (get: traffic lights)
424
#define TL_COMPLETE_DEFINITION_RYG 0x2b
425
426
// complete program (set: traffic lights)
427
#define TL_COMPLETE_PROGRAM_RYG 0x2c
428
429
// assumed time to next switch (get: traffic lights)
430
#define TL_NEXT_SWITCH 0x2d
431
432
433
434
// outgoing link number (get: lanes)
435
#define LANE_LINK_NUMBER 0x30
436
437
// id of parent edge (get: lanes)
438
#define LANE_EDGE_ID 0x31
439
440
// outgoing link definitions (get: lanes)
441
#define LANE_LINKS 0x33
442
443
// list of allowed vehicle classes (get&set: lanes)
444
#define LANE_ALLOWED 0x34
445
446
// list of not allowed vehicle classes (get&set: lanes)
447
#define LANE_DISALLOWED 0x35
448
449
450
// speed (get: vehicle)
451
#define VAR_SPEED 0x40
452
453
// maximum allowed/possible speed (get: vehicle types, lanes, set: edges, lanes)
454
#define VAR_MAXSPEED 0x41
455
456
// position (2D) (get: vehicle, poi, set: poi)
457
#define VAR_POSITION 0x42
458
459
// angle (get: vehicle)
460
#define VAR_ANGLE 0x43
461
462
// angle (get: vehicle types, lanes, set: lanes)
463
#define VAR_LENGTH 0x44
464
465
// color (get: vehicles, vehicle types, polygons, pois)
466
#define VAR_COLOR 0x45
467
468
// max. acceleration (get: vehicle types)
469
#define VAR_ACCEL 0x46
470
471
// max. deceleration (get: vehicle types)
472
#define VAR_DECEL 0x47
473
474
// driver reaction time (get: vehicle types)
475
#define VAR_TAU 0x48
476
477
// vehicle class (get: vehicle types)
478
#define VAR_VEHICLECLASS 0x49
479
480
// emission class (get: vehicle types)
481
#define VAR_EMISSIONCLASS 0x4a
482
483
// shape class (get: vehicle types)
484
#define VAR_SHAPECLASS 0x4b
485
486
// minimum gap (get: vehicle types)
487
#define VAR_MINGAP 0x4c
488
489
// width (get: vehicle types, lanes)
490
#define VAR_WIDTH 0x4d
491
492
// shape (get: polygons)
493
#define VAR_SHAPE 0x4e
494
495
// type id (get: vehicles, polygons, pois)
496
#define VAR_TYPE 0x4f
497
498
// road id (get: vehicles)
499
#define VAR_ROAD_ID 0x50
500
501
// lane id (get: vehicles)
502
#define VAR_LANE_ID 0x51
503
504
// lane index (get: vehicles)
505
#define VAR_LANE_INDEX 0x52
506
507
// route id (get & set: vehicles)
508
#define VAR_ROUTE_ID 0x53
509
510
// edges (get: routes)
511
#define VAR_EDGES 0x54
512
513
// filled? (get: polygons)
514
#define VAR_FILL 0x55
515
516
// position (1D along lane) (get: vehicle)
517
#define VAR_LANEPOSITION 0x56
518
519
// route (set: vehicles)
520
#define VAR_ROUTE 0x57
521
522
// travel time information (get&set: vehicle)
523
#define VAR_EDGE_TRAVELTIME 0x58
524
525
// effort information (get&set: vehicle)
526
#define VAR_EDGE_EFFORT 0x59
527
528
// last step travel time (get: edge, lane)
529
#define VAR_CURRENT_TRAVELTIME 0x5a
530
531
// signals state (get/set: vehicle)
532
#define VAR_SIGNALS 0x5b
533
534
// new lane/position along (set: vehicle)
535
#define VAR_MOVE_TO 0x5c
536
537
// driver imperfection (set: vehicle)
538
#define VAR_IMPERFECTION 0x5d
539
540
// speed factor (set: vehicle)
541
#define VAR_SPEED_FACTOR 0x5e
542
543
// speed deviation (set: vehicle)
544
#define VAR_SPEED_DEVIATION 0x5f
545
546
// speed without TraCI influence (get: vehicle)
547
#define VAR_SPEED_WITHOUT_TRACI 0xb1
548
549
// best lanes (get: vehicle)
550
#define VAR_BEST_LANES 0xb2
551
552
// how speed is set (set: vehicle)
553
#define VAR_SPEEDSETMODE 0xb3
554
555
// move vehicle, VTD version (set: vehicle)
556
#define VAR_MOVE_TO_VTD 0xb4
557
558
559
560
// current CO2 emission of a node (get: vehicle, lane, edge)
561
#define VAR_CO2EMISSION 0x60
562
563
// current CO emission of a node (get: vehicle, lane, edge)
564
#define VAR_COEMISSION 0x61
565
566
// current HC emission of a node (get: vehicle, lane, edge)
567
#define VAR_HCEMISSION 0x62
568
569
// current PMx emission of a node (get: vehicle, lane, edge)
570
#define VAR_PMXEMISSION 0x63
571
572
// current NOx emission of a node (get: vehicle, lane, edge)
573
#define VAR_NOXEMISSION 0x64
574
575
// current fuel consumption of a node (get: vehicle, lane, edge)
576
#define VAR_FUELCONSUMPTION 0x65
577
578
// current noise emission of a node (get: vehicle, lane, edge)
579
#define VAR_NOISEEMISSION 0x66
580
581
// current person number (get: vehicle)
582
#define VAR_PERSON_NUMBER 0x67
583
#define VAR_BUS_STOP_WAITING 0x67
584
585
586
587
// current time step (get: simulation)
588
#define VAR_TIME_STEP 0x70
589
590
// number of loaded vehicles (get: simulation)
591
#define VAR_LOADED_VEHICLES_NUMBER 0x71
592
593
// loaded vehicle ids (get: simulation)
594
#define VAR_LOADED_VEHICLES_IDS 0x72
595
596
// number of departed vehicle (get: simulation)
597
#define VAR_DEPARTED_VEHICLES_NUMBER 0x73
598
599
// departed vehicle ids (get: simulation)
600
#define VAR_DEPARTED_VEHICLES_IDS 0x74
601
602
// number of vehicles starting to teleport (get: simulation)
603
#define VAR_TELEPORT_STARTING_VEHICLES_NUMBER 0x75
604
605
// ids of vehicles starting to teleport (get: simulation)
606
#define VAR_TELEPORT_STARTING_VEHICLES_IDS 0x76
607
608
// number of vehicles ending to teleport (get: simulation)
609
#define VAR_TELEPORT_ENDING_VEHICLES_NUMBER 0x77
610
611
// ids of vehicles ending to teleport (get: simulation)
612
#define VAR_TELEPORT_ENDING_VEHICLES_IDS 0x78
613
614
// number of arrived vehicles (get: simulation)
615
#define VAR_ARRIVED_VEHICLES_NUMBER 0x79
616
617
// ids of arrived vehicles (get: simulation)
618
#define VAR_ARRIVED_VEHICLES_IDS 0x7a
619
620
// delta t (get: simulation)
621
#define VAR_DELTA_T 0x7b
622
623
// bounding box (get: simulation)
624
#define VAR_NET_BOUNDING_BOX 0x7c
625
626
// minimum number of expected vehicles (get: simulation)
627
#define VAR_MIN_EXPECTED_VEHICLES 0x7d
628
629
630
631
// add an instance (poi, polygon, vehicle, route)
632
#define ADD 0x80
633
634
// remove an instance (poi, polygon)
635
#define REMOVE 0x81
636
637
// convert coordinates
638
#define POSITION_CONVERSION 0x82
639
640
// distance between points or vehicles
641
#define DISTANCE_REQUEST 0x83
642
643
644
// force rerouting based on travel time (vehicles)
645
#define CMD_REROUTE_TRAVELTIME 0x90
646
647
// force rerouting based on effort (vehicles)
648
#define CMD_REROUTE_EFFORT 0x91
649
650
// validates current route (vehicles)
651
#define VAR_ROUTE_VALID 0x92
652
653
654
// zoom
655
#define VAR_VIEW_ZOOM 0xa0
656
657
// view position
658
#define VAR_VIEW_OFFSET 0xa1
659
660
// view schema
661
#define VAR_VIEW_SCHEMA 0xa2
662
663
// view by boundary
664
#define VAR_VIEW_BOUNDARY 0xa3
665
666
// screenshot
667
#define VAR_SCREENSHOT 0xa5
668
669
// track vehicle
670
#define VAR_TRACK_VEHICLE 0xa6
671
672
673
#endif
build
buildd
sumo-0.17.1~dfsg
src
traci-server
TraCIConstants.h
Generated on Sun Jun 16 2013 17:30:20 for SUMO - Simulation of Urban MObility by
1.8.3.1