Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Method name for vehicle's shadow lane in traci

There is currently no method for this.
You can infer the shadow lane as follows:

if lateralLanePos + halfVehWidth > laneWidth
    shadowLane = lane with vehicle.getLaneIndex + 1
if lateralLanePos - halfVehWidth < - laneWidth
       shadowLane = lane with vehicle.getLaneIndex - 1

Am Fr., 14. Aug. 2020 um 00:04 Uhr schrieb Pratik Dutta <pratikcsc@xxxxxxxxx>:
Hello everyone,

How can I get the information about "shadow lane id" for a vehicle using Traci shown in the picture attached with this mail?  

shadowlane.PNG

Regards,
Pratik Dutta
Mob: 8017342498
_______________________________________________
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