Closed Nancy22-NJ closed 7 months ago
Hello,
Can you clarify what you'd like to do? Are you trying to place a vehicle uniformly on a specific road out of those entering an intersection?
Hello,
Can you clarify what you'd like to do? Are you trying to place a vehicle uniformly on a specific road out of those entering an intersection?
For example, i want place the vehicle on the left entry of the intersection.
advInitLane = Uniform(*filter(lambda m: m.type is ManeuverType.STRAIGHT, Uniform(*filter(lambda m: m.type is ManeuverType.STRAIGHT, egoInitLane.maneuvers)).conflictingManeuvers) ).startLane
After reading the example scenarios in NHTSA, it seems that we can spawn the vehicle on the lateral entry(right or left randomly) of intersection?
But if i want to spawn the vehicle on the right entry only, how should i do?
Looking forward to your reply!