Hi Eugene,
If I recall, I had the same error code crop up whenever a vehicle was within an 
intersection. I believe getDistance only returns a valid number when a vehicle 
is on an actual edge.
Hope that helps!
Walker Dula 
> On May 18, 2017, at 4:10 PM, Eugene Vinitsky <evinit...@berkeley.edu> wrote:
> 
> Hello,
> 
> On occasion traci returns the error code -1001 when a call is made to
> getDistance. Does anyone know what triggers this? I'm getting this pretty
> regularly and it's causing some issues.
> 
> Thanks for any and all help!
> 
> Eugene
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> sumo-user mailing list
> sumo-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sumo-user


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to