(self)
| 9 | |
| 10 | class 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) |
nothing calls this directly
no outgoing calls
no test coverage detected