TraCIConstants.h

Go to the documentation of this file.
00001 /****************************************************************************/
00008 /****************************************************************************/
00009 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
00010 // Copyright 2001-2010 DLR (http://www.dlr.de/) and contributors
00011 /****************************************************************************/
00012 //
00013 //   This program is free software; you can redistribute it and/or modify
00014 //   it under the terms of the GNU General Public License as published by
00015 //   the Free Software Foundation; either version 2 of the License, or
00016 //   (at your option) any later version.
00017 //
00018 /****************************************************************************/
00019 #ifndef TRACICONSTANTS_H
00020 #define TRACICONSTANTS_H
00021 
00022 
00023 // ****************************************
00024 // COMMANDS
00025 // ****************************************
00026 // command: simulation step
00027 #define CMD_SIMSTEP 0x01
00028 
00029 // command: simulation step (new version)
00030 #define CMD_SIMSTEP2 0x02
00031 
00032 // command: set maximum speed
00033 #define CMD_SETMAXSPEED 0x11
00034 
00035 // command: stop node
00036 #define CMD_STOP 0x12
00037 
00038 // command: set lane
00039 #define CMD_CHANGELANE 0x13
00040 
00041 // command: slow down
00042 #define CMD_SLOWDOWN 0x14
00043 
00044 // command: change route
00045 #define CMD_CHANGEROUTE 0x30
00046 
00047 // command: change target
00048 #define CMD_CHANGETARGET 0x31
00049 
00050 // command: subscribe lifecycles
00051 #define CMD_SUBSCRIBELIFECYCLES 0x61
00052 
00053 // command: unsubscribe lifecycles
00054 #define CMD_UNSUBSCRIBELIFECYCLES 0x62
00055 
00056 // command: object creation
00057 #define CMD_OBJECTCREATION 0x63
00058 
00059 // command: object destruction
00060 #define CMD_OBJECTDESTRUCTION 0x64
00061 
00062 // command: object domain subscription
00063 #define CMD_SUBSCRIBEDOMAIN 0x65
00064 
00065 // command: object domain unsubscription
00066 #define CMD_UNSUBSCRIBEDOMAIN 0x66
00067 
00068 // command: object update
00069 #define CMD_UPDATEOBJECT 0x67
00070 
00071 // command: Simulation Parameter
00072 #define CMD_SIMPARAMETER 0x70
00073 
00074 // command: Position Conversion
00075 #define CMD_POSITIONCONVERSION 0x71
00076 
00077 // command: Distance Request
00078 #define CMD_DISTANCEREQUEST 0x72
00079 
00080 // command: Scenario
00081 #define CMD_SCENARIO 0x73
00082 
00083 // command: add vehicle
00084 #define CMD_ADDVEHICLE 0x74
00085 
00086 // command: move node
00087 #define CMD_MOVENODE 0x80
00088 
00089 // command: close sumo
00090 #define CMD_CLOSE 0x7F
00091 
00092 // command:
00093 #define CMD_UPDATECALIBRATOR 0x50
00094 
00095 // command: get all traffic light ids
00096 #define CMD_GETALLTLIDS 0x40
00097 
00098 // command: get traffic light status
00099 #define CMD_GETTLSTATUS 0x41
00100 
00101 // command: report traffic light id
00102 #define CMD_TLIDLIST 0x90
00103 
00104 // command: report traffic light status switch
00105 #define CMD_TLSWITCH 0x91
00106 
00107 // command: get induction loop (e1) variable
00108 #define CMD_GET_INDUCTIONLOOP_VARIABLE 0xa0
00109 // response: get induction loop (e1) variable
00110 #define RESPONSE_GET_INDUCTIONLOOP_VARIABLE 0xb0
00111 // command: subscribe induction loop (e1) variable
00112 #define CMD_SUBSCRIBE_INDUCTIONLOOP_VARIABLE 0xd0
00113 // response: subscribe induction loop (e1) variable
00114 #define RESPONSE_SUBSCRIBE_INDUCTIONLOOP_VARIABLE 0xe0
00115 
00116 // command: get multi-entry/multi-exit detector (e3) variable
00117 #define CMD_GET_MULTI_ENTRY_EXIT_DETECTOR_VARIABLE 0xa1
00118 // response: get areal detector (e3) variable
00119 #define RESPONSE_GET_MULTI_ENTRY_EXIT_DETECTOR_VARIABLE 0xb1
00120 // command: subscribe multi-entry/multi-exit detector (e3) variable
00121 #define CMD_SUBSCRIBE_MULTI_ENTRY_EXIT_DETECTOR_VARIABLE 0xd1
00122 // response: subscribe areal detector (e3) variable
00123 #define RESPONSE_SUBSCRIBE_MULTI_ENTRY_EXIT_DETECTOR_VARIABLE 0xe1
00124 
00125 // command: get traffic lights variable
00126 #define CMD_GET_TL_VARIABLE 0xa2
00127 // response: get traffic lights variable
00128 #define RESPONSE_GET_TL_VARIABLE 0xb2
00129 // command: set traffic lights variable
00130 #define CMD_SET_TL_VARIABLE 0xc2
00131 // command: subscribe traffic lights variable
00132 #define CMD_SUBSCRIBE_TL_VARIABLE 0xd2
00133 // response: subscribe traffic lights variable
00134 #define RESPONSE_SUBSCRIBE_TL_VARIABLE 0xe2
00135 
00136 // command: get lane variable
00137 #define CMD_GET_LANE_VARIABLE 0xa3
00138 // response: get lane variable
00139 #define RESPONSE_GET_LANE_VARIABLE 0xb3
00140 // command: set lane variable
00141 #define CMD_SET_LANE_VARIABLE 0xc3
00142 // command: subscribe lane variable
00143 #define CMD_SUBSCRIBE_LANE_VARIABLE 0xd3
00144 // response: subscribe lane variable
00145 #define RESPONSE_SUBSCRIBE_LANE_VARIABLE 0xe3
00146 
00147 // command: get vehicle variable
00148 #define CMD_GET_VEHICLE_VARIABLE 0xa4
00149 // response: get vehicle variable
00150 #define RESPONSE_GET_VEHICLE_VARIABLE 0xb4
00151 // command: set vehicle variable
00152 #define CMD_SET_VEHICLE_VARIABLE 0xc4
00153 // command: subscribe vehicle variable
00154 #define CMD_SUBSCRIBE_VEHICLE_VARIABLE 0xd4
00155 // response: subscribe vehicle variable
00156 #define RESPONSE_SUBSCRIBE_VEHICLE_VARIABLE 0xe4
00157 
00158 // command: get vehicle type variable
00159 #define CMD_GET_VEHICLETYPE_VARIABLE 0xa5
00160 // response: get vehicle type variable
00161 #define RESPONSE_GET_VEHICLETYPE_VARIABLE 0xb5
00162 // command: set vehicle type variable
00163 #define CMD_SET_VEHICLETYPE_VARIABLE 0xc5
00164 // command: subscribe vehicle type variable
00165 #define CMD_SUBSCRIBE_VEHICLETYPE_VARIABLE 0xd5
00166 // response: subscribe vehicle type variable
00167 #define RESPONSE_SUBSCRIBE_VEHICLETYPE_VARIABLE 0xe5
00168 
00169 // command: get route variable
00170 #define CMD_GET_ROUTE_VARIABLE 0xa6
00171 // response: get route variable
00172 #define RESPONSE_GET_ROUTE_VARIABLE 0xb6
00173 // command: set route variable
00174 #define CMD_SET_ROUTE_VARIABLE 0xc6
00175 // command: subscribe route variable
00176 #define CMD_SUBSCRIBE_ROUTE_VARIABLE 0xd6
00177 // response: subscribe route variable
00178 #define RESPONSE_SUBSCRIBE_ROUTE_VARIABLE 0xe6
00179 
00180 // command: get poi variable
00181 #define CMD_GET_POI_VARIABLE 0xa7
00182 // response: get poi variable
00183 #define RESPONSE_GET_POI_VARIABLE 0xb7
00184 // command: set poi variable
00185 #define CMD_SET_POI_VARIABLE 0xc7
00186 // command: subscribe poi variable
00187 #define CMD_SUBSCRIBE_POI_VARIABLE 0xd7
00188 // response: subscribe poi variable
00189 #define RESPONSE_SUBSCRIBE_POI_VARIABLE 0xe7
00190 
00191 // command: get polygon variable
00192 #define CMD_GET_POLYGON_VARIABLE 0xa8
00193 // response: get polygon variable
00194 #define RESPONSE_GET_POLYGON_VARIABLE 0xb8
00195 // command: set polygon variable
00196 #define CMD_SET_POLYGON_VARIABLE 0xc8
00197 // command: subscribe polygon variable
00198 #define CMD_SUBSCRIBE_POLYGON_VARIABLE 0xd8
00199 // response: subscribe polygon variable
00200 #define RESPONSE_SUBSCRIBE_POLYGON_VARIABLE 0xe8
00201 
00202 // command: get junction variable
00203 #define CMD_GET_JUNCTION_VARIABLE 0xa9
00204 // response: get junction variable
00205 #define RESPONSE_GET_JUNCTION_VARIABLE 0xb9
00206 // command: set junction variable
00207 #define CMD_SET_JUNCTION_VARIABLE 0xc9
00208 // command: subscribe junction variable
00209 #define CMD_SUBSCRIBE_JUNCTION_VARIABLE 0xd9
00210 // response: subscribe junction variable
00211 #define RESPONSE_SUBSCRIBE_JUNCTION_VARIABLE 0xe9
00212 
00213 // command: get edge variable
00214 #define CMD_GET_EDGE_VARIABLE 0xaa
00215 // response: get edge variable
00216 #define RESPONSE_GET_EDGE_VARIABLE 0xba
00217 // command: set edge variable
00218 #define CMD_SET_EDGE_VARIABLE 0xca
00219 // command: subscribe edge variable
00220 #define CMD_SUBSCRIBE_EDGE_VARIABLE 0xda
00221 // response: subscribe edge variable
00222 #define RESPONSE_SUBSCRIBE_EDGE_VARIABLE 0xea
00223 
00224 // command: get simulation variable
00225 #define CMD_GET_SIM_VARIABLE 0xab
00226 // response: get simulation variable
00227 #define RESPONSE_GET_SIM_VARIABLE 0xbb
00228 // command: set simulation variable
00229 #define CMD_SET_SIM_VARIABLE 0xcb
00230 // command: subscribe simulation variable
00231 #define CMD_SUBSCRIBE_SIM_VARIABLE 0xdb
00232 // response: subscribe simulation variable
00233 #define RESPONSE_SUBSCRIBE_SIM_VARIABLE 0xeb
00234 
00235 
00236 
00237 // ****************************************
00238 // POSITION REPRESENTATIONS
00239 // ****************************************
00240 // Omit position
00241 #define POSITION_NONE 0x00
00242 // 2D cartesian coordinates
00243 #define POSITION_2D 0x01
00244 // 2.5D cartesian coordinates
00245 #define POSITION_2_5D 0x02
00246 // 3D cartesian coordinates
00247 #define POSITION_3D 0x03
00248 // Position on road map
00249 #define POSITION_ROADMAP 0x04
00250 
00251 
00252 
00253 // ****************************************
00254 // DATA TYPES
00255 // ****************************************
00256 // Boundary Box
00257 #define TYPE_BOUNDINGBOX 0x05
00258 // Polygon
00259 #define TYPE_POLYGON 0x06
00260 // unsigned byte
00261 #define TYPE_UBYTE 0x07
00262 // signed byte
00263 #define TYPE_BYTE 0x08
00264 // 32 bit integer
00265 #define TYPE_INTEGER 0x09
00266 // float
00267 #define TYPE_FLOAT 0x0A
00268 // double
00269 #define TYPE_DOUBLE 0x0B
00270 // 8 bit ASCII string
00271 #define TYPE_STRING 0x0C
00272 // list of traffic light phases
00273 #define TYPE_TLPHASELIST 0x0D
00274 // list of strings
00275 #define TYPE_STRINGLIST 0x0E
00276 // compound object
00277 #define TYPE_COMPOUND 0x0F
00278 // 2D-position (two floats)
00279 #define TYPE_POSITION2D 0x10
00280 // color (four ubytes)
00281 #define TYPE_COLOR 0x11
00282 
00283 
00284 
00285 // ****************************************
00286 // RESULT TYPES
00287 // ****************************************
00288 // result type: Ok
00289 #define RTYPE_OK 0x00
00290 // result type: not implemented
00291 #define RTYPE_NOTIMPLEMENTED 0x01
00292 // result type: error
00293 #define RTYPE_ERR 0xFF
00294 
00295 
00296 
00297 // ****************************************
00298 // DOMAIN IDs (FOR SCENARIO COMMAND)
00299 // ****************************************
00300 // road map domain
00301 #define DOM_ROADMAP 0x00
00302 // vehicle domain
00303 #define DOM_VEHICLE 0x01
00304 // traffic lights domain
00305 #define DOM_TRAFFICLIGHTS 0x02
00306 // points of interest domain
00307 #define DOM_POI 0x03
00308 // polygon domain
00309 #define DOM_POLYGON 0x04
00310 
00311 
00312 
00313 // ****************************************
00314 // VARIABLE IDs (FOR SCENARIO COMMAND)
00315 // ****************************************
00316 // count of domain objects
00317 #define DOMVAR_COUNT 0x01
00318 // position of a domain object
00319 #define DOMVAR_POSITION 0x02
00320 // boundaries of simulation net
00321 #define DOMVAR_BOUNDINGBOX 0x03
00322 // speed of a node
00323 #define DOMVAR_SPEED 0x04
00324 // actual phase of a traffic light
00325 #define DOMVAR_CURTLPHASE 0x05
00326 // next phase of a traffic light
00327 #define DOMVAR_NEXTTLPHASE 0x06
00328 // type of a domain object (poi, polygon)
00329 #define DOMVAR_TYPE 0x07
00330 // layer a domain object is located at (poi, polygon)
00331 #define DOMVAR_LAYER 0x08
00332 // shape of a polygon
00333 #define DOMVAR_SHAPE 0x09
00334 // max count of vehicles
00335 #define DOMVAR_MAXCOUNT 0x0A
00336 // count of TraCI vehicles
00337 #define DOMVAR_EQUIPPEDCOUNT 0x0B
00338 // max count of TraCI vehicles
00339 #define DOMVAR_EQUIPPEDCOUNTMAX 0x0C
00340 // id string of a domain object
00341 #define DOMVAR_NAME 0x0D
00342 // route, a car plans to drive
00343 #define DOMVAR_ROUTE 0x0E
00344 // maximum allowed speed of a node
00345 #define DOMVAR_ALLOWED_SPEED 0x0F
00346 // air distance from a certain object to a position
00347 #define DOMVAR_AIRDISTANCE 0x10
00348 // driving distance from a certain object to a position
00349 #define DOMVAR_DRIVINGDISTANCE 0x11
00350 // external integer id of a certain object
00351 #define DOMVAR_EXTID 0x12
00352 // angle of a certain object, in degrees [0..360)
00353 #define DOMVAR_ANGLE 0x13
00354 // current simulation time
00355 #define DOMVAR_SIMTIME 0x14
00356 // current CO2 emission of a node
00357 #define DOMVAR_CO2EMISSION 0x20
00358 // current CO emission of a node
00359 #define DOMVAR_COEMISSION 0x21
00360 // current HC emission of a node
00361 #define DOMVAR_HCEMISSION 0x22
00362 // current PMx emission of a node
00363 #define DOMVAR_PMXEMISSION 0x23
00364 // current NOx emission of a node
00365 #define DOMVAR_NOXEMISSION 0x24
00366 // current fuel consumption of a node
00367 #define DOMVAR_FUELCONSUMPTION 0x25
00368 // current noise emission of a node
00369 #define DOMVAR_NOISEEMISSION 0x26
00370 
00371 
00372 
00373 // ****************************************
00374 // TRAFFIC LIGHT PHASES
00375 // ****************************************
00376 // red phase
00377 #define TLPHASE_RED 0x01
00378 // yellow phase
00379 #define TLPHASE_YELLOW 0x02
00380 // green phase
00381 #define TLPHASE_GREEN 0x03
00382 // tl is blinking
00383 #define TLPHASE_BLINKING 0x04
00384 // tl is off and not blinking
00385 #define TLPHASE_NOSIGNAL 0x05
00386 
00387 
00388 
00389 // ****************************************
00390 // DIFFERENT DISTANCE REQUESTS
00391 // ****************************************
00392 // air distance
00393 #define REQUEST_AIRDIST 0x00
00394 // driving distance
00395 #define REQUEST_DRIVINGDIST 0x01
00396 
00397 
00398 
00399 // ****************************************
00400 // VARIABLE TYPES (for CMD_GET_*_VARIABLE)
00401 // ****************************************
00402 // list of instances' ids (get: induction loops, areal detector, traffic lights)
00403 #define ID_LIST 0x00
00404 
00405 // last step vehicle number (get: induction loops, multi-entry/multi-exit detector, lanes, edges)
00406 #define LAST_STEP_VEHICLE_NUMBER 0x10
00407 
00408 // last step vehicle number (get: induction loops, multi-entry/multi-exit detector, lanes, edges)
00409 #define LAST_STEP_MEAN_SPEED 0x11
00410 
00411 // last step vehicle number (get: induction loops, multi-entry/multi-exit detector, lanes, edges)
00412 #define LAST_STEP_VEHICLE_ID_LIST 0x12
00413 
00414 // last step occupancy (get: induction loops, lanes, edges)
00415 #define LAST_STEP_OCCUPANCY 0x13
00416 
00417 // last step vehicle halting number (get: multi-entry/multi-exit detector, lanes, edges)
00418 #define LAST_STEP_VEHICLE_HALTING_NUMBER 0x14
00419 
00420 // last step mean vehicle length (get: induction loops, lanes, edges)
00421 #define LAST_STEP_LENGTH 0x15
00422 
00423 // last step time since last detection (get: induction loops)
00424 #define LAST_STEP_TIME_SINCE_DETECTION 0x16
00425 
00426 
00427 // traffic light states, encoded as rRgGyYoO tuple (get: traffic lights)
00428 #define TL_RED_YELLOW_GREEN_STATE 0x20
00429 
00430 // traffic light states, encoded phase, brake, and yellow tuple (get: traffic lights, set: traffic lights)
00431 #define TL_PHASE_BRAKE_YELLOW_STATE 0x21
00432 
00433 // index of the phase (set: traffic lights)
00434 #define TL_PHASE_INDEX 0x22
00435 
00436 // traffic light program (set: traffic lights)
00437 #define TL_PROGRAM 0x23
00438 
00439 // phase duration (set: traffic lights)
00440 #define TL_PHASE_DURATION 0x24
00441 
00442 // complete definition (get: traffic lights)
00443 #define TL_COMPLETE_DEFINITION_PBY 0x25
00444 
00445 // controlled lanes (get: traffic lights)
00446 #define TL_CONTROLLED_LANES 0x26
00447 
00448 // controlled links (get: traffic lights)
00449 #define TL_CONTROLLED_LINKS 0x27
00450 
00451 // index of the current phase (get: traffic lights)
00452 #define TL_CURRENT_PHASE 0x28
00453 
00454 // name of the current program (get: traffic lights)
00455 #define TL_CURRENT_PROGRAM 0x29
00456 
00457 // controlled junctions (get: traffic lights)
00458 #define TL_CONTROLLED_JUNCTIONS 0x2a
00459 
00460 // complete definition (get: traffic lights)
00461 #define TL_COMPLETE_DEFINITION_RYG 0x2b
00462 
00463 // complete program (set: traffic lights)
00464 #define TL_COMPLETE_PROGRAM_RYG 0x2c
00465 
00466 // assumed time to next switch (get: traffic lights)
00467 #define TL_NEXT_SWITCH 0x2d
00468 
00469 
00470 
00471 // outgoing link number (get: lanes)
00472 #define LANE_LINK_NUMBER 0x30
00473 
00474 // id of parent edge (get: lanes)
00475 #define LANE_EDGE_ID 0x31
00476 
00477 // outgoing link definitions (get: lanes)
00478 #define LANE_LINKS 0x33
00479 
00480 // list of allowed vehicle classes (get&set: lanes)
00481 #define LANE_ALLOWED 0x34
00482 
00483 // list of not allowed vehicle classes (get&set: lanes)
00484 #define LANE_DISALLOWED 0x35
00485 
00486 
00487 // speed (get: vehicle)
00488 #define VAR_SPEED 0x40
00489 
00490 // speed without TraCI influence (get: vehicle)
00491 #define VAR_SPEED_WITHOUT_TRACI 0x41
00492 
00493 // maximum allowed/possible speed (get: vehicle types, lanes, set: edges, lanes)
00494 #define VAR_MAXSPEED 0x41
00495 
00496 // position (2D) (get: vehicle, poi, set: poi)
00497 #define VAR_POSITION 0x42
00498 
00499 // angle (get: vehicle)
00500 #define VAR_ANGLE 0x43
00501 
00502 // angle (get: vehicle types, lanes, set: lanes)
00503 #define VAR_LENGTH 0x44
00504 
00505 // color (get: vehicles, vehicle types, polygons, pois)
00506 #define VAR_COLOR 0x45
00507 
00508 // max. acceleration (get: vehicle types)
00509 #define VAR_ACCEL 0x46
00510 
00511 // max. deceleration (get: vehicle types)
00512 #define VAR_DECEL 0x47
00513 
00514 // driver reaction time (get: vehicle types)
00515 #define VAR_TAU 0x48
00516 
00517 // vehicle class (get: vehicle types)
00518 #define VAR_VEHICLECLASS 0x49
00519 
00520 // emission class (get: vehicle types)
00521 #define VAR_EMISSIONCLASS 0x4a
00522 
00523 // shape class (get: vehicle types)
00524 #define VAR_SHAPECLASS 0x4b
00525 
00526 // offset (brake gap) (get: vehicle types)
00527 #define VAR_GUIOFFSET 0x4c
00528 
00529 // width (get: vehicle types)
00530 #define VAR_WIDTH 0x4d
00531 
00532 // shape (get: polygons)
00533 #define VAR_SHAPE 0x4e
00534 
00535 // type id (get: vehicles, polygons, pois)
00536 #define VAR_TYPE 0x4f
00537 
00538 // road id (get: vehicles)
00539 #define VAR_ROAD_ID 0x50
00540 
00541 // lane id (get: vehicles)
00542 #define VAR_LANE_ID 0x51
00543 
00544 // lane index (get: vehicles)
00545 #define VAR_LANE_INDEX 0x52
00546 
00547 // route id (get & set: vehicles)
00548 #define VAR_ROUTE_ID 0x53
00549 
00550 // edges (get: routes)
00551 #define VAR_EDGES 0x54
00552 
00553 // filled? (get: polygons)
00554 #define VAR_FILL 0x55
00555 
00556 // position (1D along lane) (get: vehicle)
00557 #define VAR_LANEPOSITION 0x56
00558 
00559 // route (set: vehicles)
00560 #define VAR_ROUTE 0x57
00561 
00562 // travel time information (get&set: vehicle)
00563 #define VAR_EDGE_TRAVELTIME 0x58
00564 
00565 // effort information (get&set: vehicle)
00566 #define VAR_EDGE_EFFORT 0x59
00567 
00568 // last step travel time (get: edge, lane)
00569 #define VAR_CURRENT_TRAVELTIME 0x5a
00570 
00571 
00572 
00573 // current CO2 emission of a node (get: vehicle, lane, edge)
00574 #define VAR_CO2EMISSION 0x60
00575 
00576 // current CO emission of a node (get: vehicle, lane, edge)
00577 #define VAR_COEMISSION 0x61
00578 
00579 // current HC emission of a node (get: vehicle, lane, edge)
00580 #define VAR_HCEMISSION 0x62
00581 
00582 // current PMx emission of a node (get: vehicle, lane, edge)
00583 #define VAR_PMXEMISSION 0x63
00584 
00585 // current NOx emission of a node (get: vehicle, lane, edge)
00586 #define VAR_NOXEMISSION 0x64
00587 
00588 // current fuel consumption of a node (get: vehicle, lane, edge)
00589 #define VAR_FUELCONSUMPTION 0x65
00590 
00591 // current noise emission of a node (get: vehicle, lane, edge)
00592 #define VAR_NOISEEMISSION 0x66
00593 
00594 
00595 
00596 // current time step (get: simulation)
00597 #define VAR_TIME_STEP 0x70
00598 
00599 // number of loaded vehicles (get: simulation)
00600 #define VAR_LOADED_VEHICLES_NUMBER 0x71
00601 
00602 // loaded vehicle ids (get: simulation)
00603 #define VAR_LOADED_VEHICLES_IDS 0x72
00604 
00605 // number of departed vehicle (get: simulation)
00606 #define VAR_DEPARTED_VEHICLES_NUMBER 0x73
00607 
00608 // departed vehicle ids (get: simulation)
00609 #define VAR_DEPARTED_VEHICLES_IDS 0x74
00610 
00611 // number of vehicles starting to teleport (get: simulation)
00612 #define VAR_TELEPORT_STARTING_VEHICLES_NUMBER 0x75
00613 
00614 // ids of vehicles starting to teleport (get: simulation)
00615 #define VAR_TELEPORT_STARTING_VEHICLES_IDS 0x76
00616 
00617 // number of vehicles ending to teleport (get: simulation)
00618 #define VAR_TELEPORT_ENDING_VEHICLES_NUMBER 0x77
00619 
00620 // ids of vehicles ending to teleport (get: simulation)
00621 #define VAR_TELEPORT_ENDING_VEHICLES_IDS 0x78
00622 
00623 // number of arrived vehicles (get: simulation)
00624 #define VAR_ARRIVED_VEHICLES_NUMBER 0x79
00625 
00626 // ids of arrived vehicles (get: simulation)
00627 #define VAR_ARRIVED_VEHICLES_IDS 0x7a
00628 
00629 
00630 
00631 
00632 
00633 
00634 
00635 // add an instance (poi, polygon)
00636 #define ADD 0x80
00637 
00638 // remove an instance (poi, polygon)
00639 #define REMOVE 0x81
00640 
00641 
00642 // force rerouting based on travel time (vehicles)
00643 #define CMD_REROUTE_TRAVELTIME 0x90
00644 
00645 // force rerouting based on effort (vehicles)
00646 #define CMD_REROUTE_EFFORT 0x91
00647 
00648 // validates current route (vehicles)
00649 #define VAR_ROUTE_VALID 0x92
00650 
00651 
00652 #endif
00653 
00654 
00655 

Generated on Wed May 5 00:06:37 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6