MCPcopy Create free account
hub / github.com/OpenDriveLab/DriveAdapter / sensors

Method sensors

leaderboard/team_code/map_agent.py:11–21  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9
10class MapAgent(BaseAgent):
11 def sensors(self):
12 result = super().sensors()
13 result.append({
14 'type': 'sensor.camera.semantic_segmentation',
15 'x': 0.0, 'y': 0.0, 'z': 100.0,
16 'roll': 0.0, 'pitch': -90.0, 'yaw': 0.0,
17 'width': 512, 'height': 512, 'fov': 5 * 10.0,
18 'id': 'map'
19 })
20
21 return result
22
23 def set_global_plan(self, global_plan_gps, global_plan_world_coord, wp=None):
24 super().set_global_plan(global_plan_gps, global_plan_world_coord)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected