Hello,
>From TraCI's vehicle domain, I am trying to make use of:
*getJunctionFoes(self, vehID, dist=0.0)*
Return list of junction foes [(foeId, egoDist, foeDist, egoExitDist,
foeExitDist, egoLane, foeLane, egoResponse, foeResponse), ...] within the
given distance to the given vehicle
1. For the *dist *parameter, I am calculating maximum braking distance for
my ego vehicle as:
*square(current_speed) / (2 * max_deceleration_ability) *so that ego
vehicle can decide to stop in time.
(from the *v^2 - u^2 = 2aS *formula, assuming constant maximum deceleration
and final velocity to be 0). Does that make sense?
2. Sample output that I got using this method:
(('flow_btt.0', 38.19626194106837, 31.700000000000003, 41.396261941068374,
34.900000000000006, ':intersection_2_0', ':intersection_1_0', True, False),
...)
>From that,
a. Just to confirm, are all the distances calculated using the *Euclidean
distance *formula?
b. I assume the *egoExitDist *and *foeExitDist *are the distance till the
"exit" of the junction?
c. What is *egoResponse* and *foeRespone*?
Thank you,
Sincerely,
Hriday
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user