|
|
@ -13,7 +13,6 @@ from openpilot.selfdrive.car.honda.values import CruiseButtons |
|
|
|
from openpilot.tools.sim.lib.common import SimulatorState, World |
|
|
|
from openpilot.tools.sim.lib.common import SimulatorState, World |
|
|
|
from openpilot.tools.sim.lib.simulated_car import SimulatedCar |
|
|
|
from openpilot.tools.sim.lib.simulated_car import SimulatedCar |
|
|
|
from openpilot.tools.sim.lib.simulated_sensors import SimulatedSensors |
|
|
|
from openpilot.tools.sim.lib.simulated_sensors import SimulatedSensors |
|
|
|
from openpilot.tools.sim.lib.keyboard_ctrl import KEYBOARD_HELP |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def rk_loop(function, hz, exit_event: threading.Event): |
|
|
|
def rk_loop(function, hz, exit_event: threading.Event): |
|
|
@ -74,9 +73,6 @@ class SimulatorBridge(ABC): |
|
|
|
def print_status(self): |
|
|
|
def print_status(self): |
|
|
|
print( |
|
|
|
print( |
|
|
|
f""" |
|
|
|
f""" |
|
|
|
Keyboard Commands: |
|
|
|
|
|
|
|
{KEYBOARD_HELP} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
State: |
|
|
|
State: |
|
|
|
Ignition: {self.simulator_state.ignition} Engaged: {self.simulator_state.is_engaged} |
|
|
|
Ignition: {self.simulator_state.ignition} Engaged: {self.simulator_state.is_engaged} |
|
|
|
""") |
|
|
|
""") |
|
|
|