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