Fired the babysitter

Added toggles to disable driver monitoring, the "Door Open", "Seatbelt Unlatched", and "System Overheated" alerts and all logging.
This commit is contained in:
FrogAi
2024-01-12 22:39:30 -07:00
parent 64b7f5b401
commit ac5eb105f0
11 changed files with 60 additions and 12 deletions

View File

@@ -974,7 +974,7 @@ void AnnotatedCameraWidget::paintGL() {
}
// DMoji
if (!hideBottomIcons && (sm.rcv_frame("driverStateV2") > s->scene.started_frame)) {
if (!hideBottomIcons && (sm.rcv_frame("driverStateV2") > s->scene.started_frame) && !muteDM) {
update_dmonitoring(s, sm["driverStateV2"].getDriverStateV2(), dm_fade_state, rightHandDM);
drawDriverState(painter, s);
}
@@ -1058,6 +1058,7 @@ void AnnotatedCameraWidget::updateFrogPilotWidgets(QPainter &p) {
laneWidthRight = scene.lane_width_right;
leadInfo = scene.lead_info;
mapOpen = scene.map_open;
muteDM = scene.mute_dm;
obstacleDistance = scene.obstacle_distance;
obstacleDistanceStock = scene.obstacle_distance_stock;
showDriverCamera = scene.show_driver_camera;

View File

@@ -135,6 +135,7 @@ private:
bool experimentalMode;
bool leadInfo;
bool mapOpen;
bool muteDM;
bool showDriverCamera;
bool turnSignalLeft;
bool turnSignalRight;