Hello,
I use the SUMO version 1.4.0. I tried to set the vehicle stop at 161s at the position, but it showed the wrong information.
Here's my code:
while step <200:
traci.simulationStep()
#time.sleep(1)
step += 1
while step==161:
traci.vehicle.setStop(vehID='Type5.3',edgeID='gneE0',laneIndex=0,pos=437.39,duration=20,flags=0,startPos=50)
traci.close()
Here’s the error information:
Error: Answered with error to command 0xc4: stop for vehicle 'Type5.3' on lane 'gneE0_0' is too close to break.
Error: tcpip::Socket::recvAndCheck @ recv: peer shutdown
Quitting (on error).
In addition, I don’t know the parameter starPos means. I have defined the pos. I don’t know the difference between these two parameters.
Thank you very much!
Best Regards!
Wenxuan Wang
_______________________________________________ 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
