IQ.Pilot Release Commit @ d23cc80
This commit is contained in:
@@ -145,12 +145,12 @@ def _patch_mock_state():
|
||||
mp.put("IQLaneChangeBsmDelay", False)
|
||||
|
||||
# ── Visuals (correct param keys matching visuals.py) ─────────────────────
|
||||
mp.put("BlindSpot", True)
|
||||
mp.put("TorqueBar", True)
|
||||
mp.put("RoadNameToggle", True)
|
||||
mp.put("ShowTurnSignals", True)
|
||||
mp.put("RocketFuel", False)
|
||||
mp.put("ChevronInfo", 0) # 0=off
|
||||
mp.put("IQBlindSpotAlerts", True)
|
||||
mp.put("IQSteerEffortArc", True)
|
||||
mp.put("IQRoadNameOverlay", True)
|
||||
mp.put("IQBlinkerIndicators", True)
|
||||
mp.put("IQAccelMeter", False)
|
||||
mp.put("IQLeadReadouts", 0) # 0=off
|
||||
mp.put("IQDevUIInfo", 0) # 0=off
|
||||
mp.put("AlphaLongitudinalEnabled", False) # real param; gates ChevronInfo
|
||||
|
||||
|
||||
@@ -92,12 +92,11 @@ class SimulatedSensors:
|
||||
|
||||
# dmonitoringd output
|
||||
dat = messaging.new_message('driverMonitoringState', valid=True)
|
||||
dm = dat.driverMonitoringState
|
||||
dm.alertLevel = log.DriverMonitoringState.AlertLevel.none
|
||||
dm.activePolicy = log.DriverMonitoringState.MonitoringPolicy.vision
|
||||
dm.visionPolicyState.faceDetected = True
|
||||
dm.visionPolicyState.isDistracted = False
|
||||
dm.visionPolicyState.awarenessPercent = 100
|
||||
dat.driverMonitoringState = {
|
||||
"faceDetected": True,
|
||||
"isDistracted": False,
|
||||
"awarenessStatus": 1.,
|
||||
}
|
||||
self.pm.send('driverMonitoringState', dat)
|
||||
|
||||
def send_camera_images(self, world: 'World'):
|
||||
|
||||
Reference in New Issue
Block a user