Hi, I am currently trying to retrieve the driving distance between a vehicle and an intersection via TraCI. I was using the TraCI function documented here: http://sumo-sim.org/wiki/TraCI/Simulation_Value_Retrieval#Command_0x83:_Distance_Request. The start position is the vehicle's position and the end the junction's. If I set the Distance Type flag to "driving distance" I always get a very high double value which is not correct (seems to be std::numeric_limits<SUMOReal>::max()), "air distance" on the other hand returns a correct direct distance. The wrong case happens if the junction is on the route of the vehicle but also if it is not.
I also tried using the (in the Wiki not mentioned) TraCIServerAPI_Vehicle::commandDistanceRequest function via TraCI. Here the result is the same but I do not get the high number as a return value. Instead it is INVALID_DOUBLE_VALUE. Is it somehow possible to get the driving distance of a vehicle to a junction via TraCI? Beste regards, Florian -- Department of Computer Science University of Paderborn, Germany http://ccs-labs.org/~hagenauer/ ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
