Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/TCP
/ _orientation
Function
_orientation
leaderboard/team_code/roach_ap_agent.py:52–53 ·
view source on GitHub ↗
(yaw)
Source
from the content-addressed store, hash-verified
50
51
52
def
_orientation(yaw):
53
return
np.float32([np.cos(np.radians(yaw)), np.sin(np.radians(yaw))])
54
55
56
def
get_collision(p1, v1, p2, v2):
Callers
2
_is_walker_hazard
Method · 0.70
_is_vehicle_hazard
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected