Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Using getPosition function in traci

getPosition does not involve any motion calculations but simply maps the current lane offset to the current lane shape.
Depending on what values you are comparing, this may be a source of mismatch: https://sumo.dlr.de/docs/Simulation/Distances.html

Am Fr., 29. Jan. 2021 um 11:12 Uhr schrieb Shivansh Rathi <shivanshr@xxxxxxxxxxx>:
Sir/Madam,
When I use getPosition function, there is a constant error of about 0.1 - 0.2 in distant values returned. How does the getPostion function calculate this value. Does it just uses the basic equation of motion for calculation or is it using some other way.

Regards
Shivansh
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top