Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-dev] Do cars "see" pedestrians?

If you use moveToXY, the person should re-attach itself to the network once it moves over a lane that is on its route.
If that lane does not permit pedestrians, the keepRoute argument (bitset) must have the ignorePermission-flag set (keepRoute=4).

Am Do., 9. Jan. 2020 um 12:18 Uhr schrieb up201403060 <up201403060@xxxxxxxx>:
Hey Jakob,
Thank you for the reply.
Is there a way to attach the pedestrian to the road network, after being
detached from it?

Cheers,
Daniel


Em 09.01.2020 11:10, Jakob Erdmann escreveu:
> Hello,
> cars can "see" pedestrians when:
> a) the pedestrians are on a pedestrian crossing that intersects the
> route of the vehicle (see test cases at
> https://github.com/eclipse/sumo/tree/master/tests/sumo/pedestrian_model/striping/block_vehicles
> [2])
> b) the pedestrians are walking on the road lane where the vehicles
> drive (see test cases at
> https://github.com/eclipse/sumo/tree/master/tests/sumo/pedestrian_model/striping/block_vehicles_sharedspace
> [3])
>
> Possibly, the way in which you move the pedestrian detaches it from
> the road network.
>
> regards,
> Jakob
>
> Am Do., 9. Jan. 2020 um 12:03 Uhr schrieb up201403060
> <up201403060@xxxxxxxx>:
>
>> Good morning,
>>
>> I made a prototype to simulate jaywalking in SUMO. So far I am
>> using
>> TraCI to create a pedestrian which can be moved around using the
>> arrow
>> keys. The problem is that when it crosses the road, cars just go
>> through
>> him. Is there a way to make cars react to my remote controlled
>> pedestrian and slow down/detect a collision?
>>
>> Thank you for your help,
>> Daniel
>> _______________________________________________
>> sumo-dev mailing list
>> sumo-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or
>> unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-dev [1]
>
>
> Links:
> ------
> [1] https://www.eclipse.org/mailman/listinfo/sumo-dev
> [2]
> https://github.com/eclipse/sumo/tree/master/tests/sumo/pedestrian_model/striping/block_vehicles
> [3]
> https://github.com/eclipse/sumo/tree/master/tests/sumo/pedestrian_model/striping/block_vehicles_sharedspace
>
> _______________________________________________
> sumo-dev mailing list
> sumo-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-dev

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

Back to the top