/* THIS IS AN AUTOGENERATED FILE, PLEASE EDIT services.py */ #ifndef __SERVICES_H #define __SERVICES_H #include #include struct service { std::string name; int port; bool should_log; int frequency; int decimation; }; static std::map services = { { "gyroscope", {"gyroscope", 8001, true, 104, 104}}, { "gyroscope2", {"gyroscope2", 8002, true, 100, 100}}, { "accelerometer", {"accelerometer", 8003, true, 104, 104}}, { "accelerometer2", {"accelerometer2", 8004, true, 100, 100}}, { "magnetometer", {"magnetometer", 8005, true, 25, 25}}, { "lightSensor", {"lightSensor", 8006, true, 100, 100}}, { "temperatureSensor", {"temperatureSensor", 8007, true, 2, 200}}, { "temperatureSensor2", {"temperatureSensor2", 8008, true, 2, 200}}, { "gpsNMEA", {"gpsNMEA", 8009, true, 9, -1}}, { "deviceState", {"deviceState", 8010, true, 2, 1}}, { "can", {"can", 8011, true, 100, 1223}}, { "controlsState", {"controlsState", 8012, true, 100, 10}}, { "pandaStates", {"pandaStates", 8013, true, 10, 1}}, { "peripheralState", {"peripheralState", 8014, true, 2, 1}}, { "radarState", {"radarState", 8015, true, 20, 5}}, { "roadEncodeIdx", {"roadEncodeIdx", 8016, false, 20, 1}}, { "liveTracks", {"liveTracks", 8017, true, 20, -1}}, { "sendcan", {"sendcan", 8018, true, 100, 139}}, { "logMessage", {"logMessage", 8019, true, 0, -1}}, { "errorLogMessage", {"errorLogMessage", 8020, true, 0, 1}}, { "liveCalibration", {"liveCalibration", 8021, true, 4, 4}}, { "liveTorqueParameters", {"liveTorqueParameters", 8023, true, 4, 1}}, { "androidLog", {"androidLog", 8024, true, 0, -1}}, { "carState", {"carState", 8025, true, 100, 10}}, { "carControl", {"carControl", 8026, true, 100, 10}}, { "carOutput", {"carOutput", 8027, true, 100, 10}}, { "longitudinalPlan", {"longitudinalPlan", 8028, true, 20, 5}}, { "procLog", {"procLog", 8029, true, 0, 15}}, { "gpsLocationExternal", {"gpsLocationExternal", 8030, true, 10, 10}}, { "gpsLocation", {"gpsLocation", 8031, true, 1, 1}}, { "ubloxGnss", {"ubloxGnss", 8032, true, 10, -1}}, { "qcomGnss", {"qcomGnss", 8033, true, 2, -1}}, { "gnssMeasurements", {"gnssMeasurements", 8034, true, 10, 10}}, { "clocks", {"clocks", 8035, true, 0, 1}}, { "ubloxRaw", {"ubloxRaw", 8036, true, 20, -1}}, { "liveLocationKalman", {"liveLocationKalman", 8037, true, 20, 5}}, { "liveParameters", {"liveParameters", 8038, true, 20, 5}}, { "cameraOdometry", {"cameraOdometry", 8039, true, 20, 5}}, { "lateralPlanDEPRECATED", {"lateralPlanDEPRECATED", 8040, true, 20, 5}}, { "thumbnail", {"thumbnail", 8041, true, 0, 1}}, { "onroadEvents", {"onroadEvents", 8042, true, 1, 1}}, { "carParams", {"carParams", 8043, true, 0, 1}}, { "roadCameraState", {"roadCameraState", 8044, true, 20, 20}}, { "driverCameraState", {"driverCameraState", 8045, true, 20, 20}}, { "driverEncodeIdx", {"driverEncodeIdx", 8046, false, 20, 1}}, { "driverStateV2", {"driverStateV2", 8047, true, 20, 10}}, { "driverMonitoringState", {"driverMonitoringState", 8048, true, 20, 10}}, { "wideRoadEncodeIdx", {"wideRoadEncodeIdx", 8049, false, 20, 1}}, { "wideRoadCameraState", {"wideRoadCameraState", 8050, true, 20, 20}}, { "modelV2", {"modelV2", 8051, true, 20, 40}}, { "managerState", {"managerState", 8052, true, 2, 1}}, { "uploaderState", {"uploaderState", 8053, true, 0, 1}}, { "navInstruction", {"navInstruction", 8054, true, 1, 10}}, { "navRoute", {"navRoute", 8055, true, 0, -1}}, { "navThumbnail", {"navThumbnail", 8056, true, 0, -1}}, { "navModelDEPRECATED", {"navModelDEPRECATED", 8057, true, 2, 4}}, { "mapRenderState", {"mapRenderState", 8058, true, 2, 1}}, { "uiPlan", {"uiPlan", 8059, true, 20, 40}}, { "qRoadEncodeIdx", {"qRoadEncodeIdx", 8060, false, 20, -1}}, { "userFlag", {"userFlag", 8061, true, 0, 1}}, { "microphone", {"microphone", 8062, true, 10, 10}}, { "controlsStateSP", {"controlsStateSP", 8063, true, 100, 10}}, { "longitudinalPlanSP", {"longitudinalPlanSP", 8064, true, 20, 5}}, { "lateralPlanSPDEPRECATED", {"lateralPlanSPDEPRECATED", 8065, true, 20, 5}}, { "driverMonitoringStateSP", {"driverMonitoringStateSP", 8066, true, 20, 10}}, { "liveMapDataSP", {"liveMapDataSP", 8067, true, 0, -1}}, { "e2eLongStateSP", {"e2eLongStateSP", 8068, true, 0, -1}}, { "modelV2SP", {"modelV2SP", 8069, true, 20, 40}}, { "uiDebug", {"uiDebug", 8070, true, 0, 1}}, { "testJoystick", {"testJoystick", 8071, true, 0, -1}}, { "roadEncodeData", {"roadEncodeData", 8072, false, 20, -1}}, { "driverEncodeData", {"driverEncodeData", 8073, false, 20, -1}}, { "wideRoadEncodeData", {"wideRoadEncodeData", 8074, false, 20, -1}}, { "qRoadEncodeData", {"qRoadEncodeData", 8075, false, 20, -1}}, { "livestreamWideRoadEncodeIdx", {"livestreamWideRoadEncodeIdx", 8076, false, 20, -1}}, { "livestreamRoadEncodeIdx", {"livestreamRoadEncodeIdx", 8077, false, 20, -1}}, { "livestreamDriverEncodeIdx", {"livestreamDriverEncodeIdx", 8078, false, 20, -1}}, { "livestreamWideRoadEncodeData", {"livestreamWideRoadEncodeData", 8079, false, 20, -1}}, { "livestreamRoadEncodeData", {"livestreamRoadEncodeData", 8080, false, 20, -1}}, { "livestreamDriverEncodeData", {"livestreamDriverEncodeData", 8081, false, 20, -1}}, { "customReservedRawData0", {"customReservedRawData0", 8082, true, 0, -1}}, { "customReservedRawData1", {"customReservedRawData1", 8083, true, 0, -1}}, { "customReservedRawData2", {"customReservedRawData2", 8084, true, 0, -1}}, }; #endif