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