Driver Models
Behavior models for cars and pedestrians.
Action type for the pedestrian model
AutomotivePOMDPs.set_direction! — Method.set the lane exit to take at the next junction to reach the goal
AutomotivePOMDPs.update_priority! — Method.Check if all the pedestrian have crossed
Compute acceleration according to IDM
AutomotivePOMDPs.get_dist_to_end — Method.Return the distance to the end of the lane
AutomotivePOMDPs.stop_at_dist — Method.Return the longitudinal acceleration to come to a stop at the distance headway following idm
AutomotivePOMDPs.stop_at_end — Method.Return the longitudinal acceleration to come to a stop at the end of the current lane follows idm style braking
AutomotivePOMDPs.update_stop! — Method.set the state stop! to true if veh is stopped at the intersection
AutomotivePOMDPs.grow_wait_list! — Method.If other vehicles reaches the intersection before the ego vehicle they are added to the waitlist
AutomotivePOMDPs.is_at_intersection — Method.return true if veh is before the intersection
AutomotivePOMDPs.tts — Method.Robust function to compute the time to drive dist at speed v
AutomotivePOMDPs.ungrow_wait_list! — Method.Remove from the wait list vehicles that are now exiting the intersection
AutomotivePOMDPs.update_priority! — Method.Check if the ego car has priority or not
AutomotivePOMDPs.ttc_check — Method.Check if the time to collision is above some threshold