Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
374
def
get_velocity(actor):
375
v = actor.get_velocity()
376
return
carla.Vector2D(v.x, v.y)
377
378
def
get_bounding_box_corners(actor):
379
bbox = actor.bounding_box
Callers
5
do_death
Function · 0.70
do_speed_statistics
Function · 0.70
do_gamma
Function · 0.70
get_ttc_vel
Function · 0.70
do_control
Function · 0.70
Calls
1
Vector2D
Method · 0.80
Tested by
no test coverage detected