MCPcopy Create free account
hub / github.com/dotchen/LearningByCheating / _is_vehicle_hazard

Method _is_vehicle_hazard

PythonAPI/agents/navigation/agent.py:202–251  ·  view source on GitHub ↗

Check if a given vehicle is an obstacle in our way. To this end we take into account the road and lane the target vehicle is on and run a geometry test to check if the target vehicle is under a certain distance in front of our ego vehicle. WARNING: This meth

(self, vehicle_list)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

run_stepMethod · 0.80
run_stepMethod · 0.80
run_stepMethod · 0.80

Calls 3

compute_yaw_differenceFunction · 0.90
is_within_distance_aheadFunction · 0.90
get_waypointMethod · 0.80

Tested by

no test coverage detected