Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Vehicles aware of other vehicles?

Hello,
vehicles are aware of
- the vehicle directly in front (accesible using traci.vehicle.getLeader())
- the nearest vehicles ahead and to the rear on directly neighboring lanes (only accessible indirectly via traci.lane.getVehicles)
- you can retrieve the intention for lane changing via traci.vehicle.getLaneChangeState
- at intersections, vehicles are aware of all vehicles with right of way and all those that are in their way (accessible only indirectly via trac.lane.getLinks and lane.getVehicles)

regards,
Jakob


2018-03-09 15:32 GMT+01:00 Martinez, Hector A <hmartinez@xxxxxxxxx>:

Good morning Sumo-users,

 

I would like to understand how vehicles are aware of other vehicles.  For example, how does a vehicle know that he needs to change lane because the vehicle in front is either too slow or it stopped.

 

What information does one vehicle know about the other and how can I retrieve that info using TraCI or TraaS?

 

Thanks,

 

-Hector

 

 


_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



Back to the top