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

Function get_velocity

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

Source from the content-addressed store, hash-verified

372 max(v.y for v in corners)))
373
374def get_velocity(actor):
375 v = actor.get_velocity()
376 return carla.Vector2D(v.x, v.y)
377
378def get_bounding_box_corners(actor):
379 bbox = actor.bounding_box

Callers 5

do_deathFunction · 0.70
do_speed_statisticsFunction · 0.70
do_gammaFunction · 0.70
get_ttc_velFunction · 0.70
do_controlFunction · 0.70

Calls 1

Vector2DMethod · 0.80

Tested by

no test coverage detected