MCPcopy Create free account
hub / github.com/AdaCompNUS/summit / is_pedestrian

Function is_pedestrian

PythonAPI/examples/gamma_crowd.py:432–433  ·  view source on GitHub ↗
(actor)

Source from the content-addressed store, hash-verified

430 return isinstance(actor, carla.Vehicle) and int(actor.attributes['number_of_wheels']) == 2
431
432def is_pedestrian(actor):
433 return isinstance(actor, carla.Walker)
434
435class SumoNetworkAgentPath:
436 def __init__(self, route_points, min_points, interval):

Callers 1

do_collision_statisticsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected