paralleldomain.data_lab.behaviors.pedestrian

class PedestrianBehavior(value)

Contains parameter that governs and controls pedestrian behavior.

EDGESTOPPER = 4

Behavior where pedestrian will spawn on sidewalk, walk towards agent and stop at edge of sidewalk.

JAYWALKER = 3

Behavior where pedestrian will exhibit jaywalking behavior (eg. cross the road at a non-crosswalk).

NORMAL = 1

Behavior where pedestrian will walk on sidewalks/crosswalks and only cross roads at crosswalks. Note than pedestrians will attempt to walk to a random position in the pedestrian lane on which they are located. Upon reaching this goal, another goal will be selected at random. Pedestrians will attempt to walk only on pedestrians surfaces. If a pedestrian is not placed on a pedestrian surface, it will attempt to take a direct line to the nearest pedestrian surface. Pedestrians will attempt to avoid static objects and be biased to walking in the center of pedestrian lanes.

STATIC = 2

Behavior where pedestrian will stay in place at spawn location.