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

Method __init__

scenario_runner/no_rendering_mode.py:1244–1252  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

1242
1243class ModuleInput(object):
1244 def __init__(self, name):
1245 self.name = name
1246 self.mouse_pos = (0, 0)
1247 self.mouse_offset = [0.0, 0.0]
1248 self.wheel_offset = 0.1
1249 self.wheel_amount = 0.025
1250 self._steer_cache = 0.0
1251 self.control = None
1252 self._autopilot_enabled = False
1253
1254 def start(self):
1255 hud = module_manager.get_module(MODULE_HUD)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected