Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Tracking of containers in Traci

There are plans to re-purpose the existing traci.person API to also handle containers (https://github.com/eclipse-sumo/sumo/issues/5547) but this hasn't been implemented yet.
In the meanTime using persons in place of containers is the only workaround if you need TraCI. Note, that you can visualize persons with custom images (vType attribute imgFile) so at least you can make them look like containers.

Am Mi., 13. Nov. 2024 um 12:35 Uhr schrieb Rehab Shahin via sumo-user <sumo-user@xxxxxxxxxxx>:
Hello,

I'm creating a logistics scenario using containers, trucks, and container stops. The containers are waiting at a container stop, the truck stops at the container stop, loads containers based on its capacity, and transfers them to their destination. I would like to use traci to track the current number of containers at the container stops and those that are loaded and transferred by the trucks. I notice that there are no traci functions for containers and I'd like to ask if there is another way or workaround to do this? I'm thinking of simulation using persons instead of containers but this is not ideal, I wonder if there is a better way.

Thanks,
Rehab
_______________________________________________
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