Thanks!
On Mon, 30 Jul 2018 at 13:43, Jakob Erdmann wrote:
> under the simplified assumption of 'constant acceleration up to the speed
> limit', computing the time to arrival is fairly straight-forward. You just
> have to distinguish between the cases where the distance is sufficient for
> reach
under the simplified assumption of 'constant acceleration up to the speed
limit', computing the time to arrival is fairly straight-forward. You just
have to distinguish between the cases where the distance is sufficient for
reaching vMax and where it isn't.
2018-07-30 10:54 GMT+02:00 Jose Monreal
Thanks Jakob!
Yeah, that seems too simple, as there are vehicles stopping at a red light,
their speed is 0, it will not give an accurate time when moving.
Any ideas on how to process those type of situations?
Best regards,
José
On Sun, 29 Jul 2018 at 21:18, Jakob Erdmann wrote:
> you can use t
you can use traci.vehicle.getDrivingDistance(self, vehID, edgeID, pos,
laneIndex) to compute the distance to an upcoming position on the vehicles
route.
You would just need to know the edge that is incoming the the desired
junction.
If the position is not on the route, you can use traci.simulation.
I am interested in calculating the time for vehicle A to get to junction
B1 from B0 at speed V0.
I still do not have the acceleration/deceleration factors.
I want to keep it simple for now, and from there start adding more
complexity.
Best regards,
José
On Sun, 29 Jul 2018 at 18:28, Jakob Erdmann
This ranges from trivial to complex depending on your assumptions regarding
vehicle speed.
Do you aim at figuring out the distance to the next junction or are you
interested in the formulas that include acceleration/deceleration?
2018-07-29 18:38 GMT+02:00 Jose Monreal Bailey :
> Hi everyone,
>
>
Hi everyone,
How can I calculate the necessary time for a vehicle to get to the next
junction?
Best regards,
José
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from
this list, v