Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] traci colliding command

Hi,
the commands are there,
https://github.com/DLR-TS/sumo/blob/f19c50d12d4e2db284312886dd507665696a3ebc/tools/traci/_simulation.py#L178
but they only give summary information not for an individual vehicle
so you will find out which one collided, because it is in the list, but
not which other vehicle participated.

Best regards,
Michael

Am 26.01.2018 um 10:34 schrieb 杜 伟强:
> Hello:
> 
>        In http://sumo.dlr.de/wiki/TraCI/Simulation_Value_Retrieval ,
> there are tow commands about colliding:
> 
> getCollidingVehiclesNumber
> <http://www.sumo.dlr.de/daily/pydoc/traci._simulation.html#SimulationDomain-getCollidingVehiclesNumber>
> and getCollidingVehiclesIDList
> <http://www.sumo.dlr.de/daily/pydoc/traci._simulation.html#SimulationDomain-getCollidingVehiclesIDList>
> 
>  
> 
>        but I can’t find these tow command in traci library and sumo source.
> 
>  
> 
> So ,why and how can I know that a specific car getting colliding with
> another one
> 
>  
> 
> Thank you
> 
>  
> 
> 发送自Windows 10 版邮件 <https://go.microsoft.com/fwlink/?LinkId=550986>应用
> 
>  
> 
> 
> 
> _______________________________________________
> 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
> 


Attachment: signature.asc
Description: OpenPGP digital signature


Back to the top