/* THIS IS AN AUTOGENERATED FILE, PLEASE EDIT services.py */ #ifndef __SERVICES_H #define __SERVICES_H #include #include struct service { std::string name; bool should_log; float frequency; int decimation; size_t queue_size; }; static std::map services = { { "gyroscope", {"gyroscope", true, 104.000000, 104, 256000}}, { "accelerometer", {"accelerometer", true, 104.000000, 104, 256000}}, { "magnetometer", {"magnetometer", true, 25.000000, -1, 256000}}, { "lightSensor", {"lightSensor", true, 100.000000, 100, 256000}}, { "temperatureSensor", {"temperatureSensor", true, 2.000000, 200, 256000}}, { "gpsNMEA", {"gpsNMEA", true, 9.000000, -1, 256000}}, { "deviceState", {"deviceState", true, 2.000000, 1, 256000}}, { "touch", {"touch", true, 20.000000, 1, 256000}}, { "can", {"can", true, 100.000000, 2053, 10485760}}, { "controlsState", {"controlsState", true, 100.000000, 10, 2097152}}, { "selfdriveState", {"selfdriveState", true, 100.000000, 10, 256000}}, { "pandaStates", {"pandaStates", true, 10.000000, 1, 256000}}, { "peripheralState", {"peripheralState", true, 2.000000, 1, 256000}}, { "radarState", {"radarState", true, 20.000000, 5, 256000}}, { "roadEncodeIdx", {"roadEncodeIdx", false, 20.000000, 1, 256000}}, { "liveTracks", {"liveTracks", true, 20.000000, -1, 256000}}, { "sendcan", {"sendcan", true, 100.000000, 139, 2097152}}, { "logMessage", {"logMessage", true, 0.000000, -1, 256000}}, { "errorLogMessage", {"errorLogMessage", true, 0.000000, 1, 256000}}, { "liveCalibration", {"liveCalibration", true, 4.000000, 4, 256000}}, { "liveTorqueParameters", {"liveTorqueParameters", true, 4.000000, 1, 256000}}, { "liveDelay", {"liveDelay", true, 4.000000, 1, 256000}}, { "androidLog", {"androidLog", true, 0.000000, -1, 256000}}, { "carState", {"carState", true, 100.000000, 10, 256000}}, { "carControl", {"carControl", true, 100.000000, 10, 256000}}, { "carOutput", {"carOutput", true, 100.000000, 10, 256000}}, { "longitudinalPlan", {"longitudinalPlan", true, 20.000000, 10, 256000}}, { "driverAssistance", {"driverAssistance", true, 20.000000, 20, 256000}}, { "procLog", {"procLog", true, 0.500000, 15, 10485760}}, { "gpsLocationExternal", {"gpsLocationExternal", true, 10.000000, 10, 256000}}, { "gpsLocation", {"gpsLocation", true, 1.000000, 1, 256000}}, { "ubloxGnss", {"ubloxGnss", true, 10.000000, -1, 256000}}, { "qcomGnss", {"qcomGnss", true, 2.000000, -1, 256000}}, { "gnssMeasurements", {"gnssMeasurements", true, 10.000000, 10, 256000}}, { "clocks", {"clocks", true, 0.100000, 1, 256000}}, { "ubloxRaw", {"ubloxRaw", true, 20.000000, -1, 256000}}, { "livePose", {"livePose", true, 20.000000, 4, 256000}}, { "liveParameters", {"liveParameters", true, 20.000000, 5, 256000}}, { "cameraOdometry", {"cameraOdometry", true, 20.000000, 10, 256000}}, { "thumbnail", {"thumbnail", true, 0.016667, 1, 256000}}, { "onroadEvents", {"onroadEvents", true, 1.000000, 1, 256000}}, { "carParams", {"carParams", true, 0.020000, 1, 256000}}, { "roadCameraState", {"roadCameraState", true, 20.000000, 20, 256000}}, { "driverCameraState", {"driverCameraState", true, 20.000000, 20, 256000}}, { "driverEncodeIdx", {"driverEncodeIdx", false, 20.000000, 1, 256000}}, { "driverStateV2", {"driverStateV2", true, 20.000000, 10, 256000}}, { "driverMonitoringState", {"driverMonitoringState", true, 20.000000, 10, 256000}}, { "wideRoadEncodeIdx", {"wideRoadEncodeIdx", false, 20.000000, 1, 256000}}, { "wideRoadCameraState", {"wideRoadCameraState", true, 20.000000, 20, 256000}}, { "drivingModelData", {"drivingModelData", true, 20.000000, 10, 256000}}, { "modelV2", {"modelV2", true, 20.000000, -1, 10485760}}, { "managerState", {"managerState", true, 2.000000, 1, 256000}}, { "uploaderState", {"uploaderState", true, 0.000000, 1, 256000}}, { "navInstruction", {"navInstruction", true, 1.000000, 10, 256000}}, { "navRoute", {"navRoute", true, 0.000000, -1, 256000}}, { "navThumbnail", {"navThumbnail", true, 0.000000, -1, 256000}}, { "qRoadEncodeIdx", {"qRoadEncodeIdx", false, 20.000000, -1, 256000}}, { "userBookmark", {"userBookmark", true, 0.000000, 1, 256000}}, { "soundPressure", {"soundPressure", true, 10.000000, 10, 256000}}, { "rawAudioData", {"rawAudioData", false, 20.000000, -1, 256000}}, { "bookmarkButton", {"bookmarkButton", true, 0.000000, 1, 256000}}, { "audioFeedback", {"audioFeedback", true, 0.000000, 1, 256000}}, { "roadEncodeData", {"roadEncodeData", false, 20.000000, -1, 10485760}}, { "driverEncodeData", {"driverEncodeData", false, 20.000000, -1, 10485760}}, { "wideRoadEncodeData", {"wideRoadEncodeData", false, 20.000000, -1, 10485760}}, { "qRoadEncodeData", {"qRoadEncodeData", false, 20.000000, -1, 10485760}}, { "uiDebug", {"uiDebug", true, 0.000000, 1, 256000}}, { "testJoystick", {"testJoystick", true, 0.000000, -1, 256000}}, { "alertDebug", {"alertDebug", true, 20.000000, 5, 256000}}, { "livestreamWideRoadEncodeIdx", {"livestreamWideRoadEncodeIdx", false, 20.000000, -1, 256000}}, { "livestreamRoadEncodeIdx", {"livestreamRoadEncodeIdx", false, 20.000000, -1, 256000}}, { "livestreamDriverEncodeIdx", {"livestreamDriverEncodeIdx", false, 20.000000, -1, 256000}}, { "livestreamWideRoadEncodeData", {"livestreamWideRoadEncodeData", false, 20.000000, -1, 2097152}}, { "livestreamRoadEncodeData", {"livestreamRoadEncodeData", false, 20.000000, -1, 2097152}}, { "livestreamDriverEncodeData", {"livestreamDriverEncodeData", false, 20.000000, -1, 2097152}}, { "customReservedRawData0", {"customReservedRawData0", true, 0.000000, -1, 256000}}, { "customReservedRawData1", {"customReservedRawData1", true, 0.000000, -1, 256000}}, { "customReservedRawData2", {"customReservedRawData2", true, 0.000000, -1, 256000}}, { "frogpilotCarControl", {"frogpilotCarControl", true, 100.000000, 10, 256000}}, { "frogpilotCarParams", {"frogpilotCarParams", true, 0.020000, 1, 256000}}, { "frogpilotCarState", {"frogpilotCarState", true, 100.000000, 10, 256000}}, { "frogpilotDeviceState", {"frogpilotDeviceState", true, 2.000000, 1, 256000}}, { "frogpilotModelV2", {"frogpilotModelV2", true, 20.000000, -1, 256000}}, { "frogpilotOnroadEvents", {"frogpilotOnroadEvents", true, 1.000000, 1, 256000}}, { "frogpilotPlan", {"frogpilotPlan", true, 20.000000, 10, 256000}}, { "frogpilotRadarState", {"frogpilotRadarState", true, 20.000000, 5, 256000}}, { "frogpilotSelfdriveState", {"frogpilotSelfdriveState", true, 100.000000, 10, 256000}}, { "mapdExtendedOut", {"mapdExtendedOut", true, 1.000000, 1, 2097152}}, { "mapdIn", {"mapdIn", true, 1.000000, 1, 2097152}}, { "mapdOut", {"mapdOut", true, 20.000000, 20, 2097152}}, }; #endif