Dear traci4Matlab Users,
I have tried using this method:
traci.lane.getLastStepHaltingNumber(landID)
as follows:
toFlowQueueLength = traci.lane.getLastStepHaltingNumber('YaJn_0');
but am getting the following error:
Error using uint8
Conversion to uint8 from cell is not possible.
Error in traci.beginMessage (line 22)
message.string = [message.string uint8([len
sscanf(cmdID,'%x') sscanf(varID,'%x')])...
Error in traci.sendReadOneStringCmd (line 10)
traci.beginMessage(cmdID, varID, objID);
Error in traci.lane.getUniversal (line 21)
result =
traci.sendReadOneStringCmd(constants.CMD_GET_LANE_VARIABLE,varID,laneID);
Error in traci.lane.getLastStepHaltingNumber (line
13)
lastStepHaltingNumber =
traci.lane.getUniversal(constants.LAST_STEP_VEHICLE_HALTING_NUMBER,
laneID);
Error in waitTimeTest (line 257)
toFlowQueueLength =
traci.lane.getLastStepHaltingNumber(maxWaitingTimeLane);
Also, I tried :
toFlowQueueLength = uint8(traci.lane.getLastStepHaltingNumber('YaJn_0'));
yet I had same error. Please, what could I be doing wrong??
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user