Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Get the occupancy information of each parking space in the parking area

The individual space occupancy is currently not accessible. Using capacity-1 areas is the recommended solution.

Am Mo., 18. Apr. 2022 um 09:28 Uhr schrieb 何润恺 <h772021995@xxxxxxxxx>:
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 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.sumo@xxxxxxxxx> 于2022年4月18日周一 15:15写道:
traci.parkingarea.getVehicleCount
traci.parkingarea.getVehicleIDs

Am Mo., 18. Apr. 2022 um 05:11 Uhr schrieb 何润恺 <h772021995@xxxxxxxxx>:
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@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
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