Hello Jakob,

My point is I want to get the vehicle visited occupanied parking spaces
information when they crusing to find a parking space.

I want to to compare the position of the cruising vehicle via
getLanePosition
<https://sumo.dlr.de/pydoc/traci._vehicle.html#VehicleDomain-getLanePosition>
and
the parking spaces' position on the lane.

Use this way, to caculate the vehicles' visited parking spaces and get the
occupancy information through the traci to simulate this occupancy
information of roadside parking spaces (free or occupied) is detected by
the vehicles.

BR,
Runkai



Jakob Erdmann <namdre.s...@gmail.com> 于2022年4月18日周一 15:15写道:

> traci.parkingarea.getVehicleCount
> traci.parkingarea.getVehicleIDs
>
> Am Mo., 18. Apr. 2022 um 05:11 Uhr schrieb 何润恺 <h772021...@gmail.com>:
>
>> Dear Sumo Developer,
>>
>> I want to ask is there any way I can use to get each parking space's
>> occupancy information? Because I want to simulate the vehicle cruising to
>> detect the parking information. So the individually parking space
>> information will be a great help.
>>
>> I assume defining each parking area capacity as 1 might can solve
>> this problem. And is there another way?
>>
>> Best regards,
>> Runkai
>> _______________________________________________
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> _______________________________________________
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to