controlsd: remove procs from ignore list (#26848)

* trim list

* check for file
This commit is contained in:
Adeeb Shihadeh
2023-05-07 15:43:45 -07:00
committed by GitHub
parent 758a9d7c24
commit c4501e4bc1
2 changed files with 2 additions and 6 deletions

3
Jenkinsfile vendored
View File

@@ -19,8 +19,7 @@ source ~/.bash_profile
if [ -f /TICI ]; then
source /etc/profile
fi
if [ -d /data/openpilot ]; then
if [ -f /data/openpilot/launch_env.sh ]; then
source /data/openpilot/launch_env.sh
fi

View File

@@ -28,7 +28,6 @@ from selfdrive.controls.lib.alertmanager import AlertManager, set_offroad_alert
from selfdrive.controls.lib.vehicle_model import VehicleModel
from selfdrive.locationd.calibrationd import Calibration
from system.hardware import HARDWARE
from selfdrive.manager.process_config import managed_processes
SOFT_DISABLE_TIME = 3 # seconds
LDW_MIN_SPEED = 31 * CV.MPH_TO_MS
@@ -37,9 +36,7 @@ LANE_DEPARTURE_THRESHOLD = 0.1
REPLAY = "REPLAY" in os.environ
SIMULATION = "SIMULATION" in os.environ
NOSENSOR = "NOSENSOR" in os.environ
IGNORE_PROCESSES = {"uploader", "deleter", "loggerd", "logmessaged", "tombstoned", "statsd",
"logcatd", "proclogd", "clocksd", "updated", "timezoned", "manage_athenad"} | \
{k for k, v in managed_processes.items() if not v.enabled}
IGNORE_PROCESSES = {"loggerd", "encoderd", "statsd"}
ThermalStatus = log.DeviceState.ThermalStatus
State = log.ControlsState.OpenpilotState