Dear all,
If I would like to get the occupancy for one lane
area director E2 located on known lane What could I do?
The TRACI command would be useful to do that?
If I could use TRACI to do that, how to do I?
Is that command right below?
********************************************
*Example from : SUMO_HOME/tests/complex/tutorial/traci_tls/data/*
testlane=4i_0;
traci.lane.subscribeContext(testlane
,traci.constants.CMD_SUBSCRIBE_LANEAREA_CONTEXT );
lane4i0ContextResults = traci.lanei
.getContextSubscriptionResults('4i_0');
occupancy4i0Handle1 = lane4i0ContextResults('0');
occupancy4i0 =
occupancy4i0Handle1(traci.CMD_GET_E2_VARIABLE.LAST_STEP_OCCUPANCY);
Any kindly help would be appreciated!
Jane
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user