Add struct and services

pull/34531/head
Kacper Rączy 5 months ago
parent 79e52ea83d
commit 72dcd59501
  1. 8
      cereal/log.capnp
  2. 1
      cereal/services.py

@ -2263,6 +2263,11 @@ struct LiveTorqueParametersData {
useParams @12 :Bool;
}
struct LiveDelayData {
steerActuatorDelay @0 :Float32;
totalPoints @1 :Int32;
}
struct LiveMapDataDEPRECATED {
speedLimitValid @0 :Bool;
speedLimit @1 :Float32;
@ -2493,6 +2498,7 @@ struct Event {
gnssMeasurements @91 :GnssMeasurements;
liveParameters @61 :LiveParametersData;
liveTorqueParameters @94 :LiveTorqueParametersData;
liveActuatorDelay @146 : LiveDelayData;
cameraOdometry @63 :CameraOdometry;
thumbnail @66: Thumbnail;
onroadEvents @134: List(OnroadEvent);
@ -2564,7 +2570,7 @@ struct Event {
# DO change the name of the field and struct
# DON'T change the ID (e.g. @107)
# DON'T change which struct it points to
# DON'T change which struct it points to
customReserved0 @107 :Custom.CustomReserved0;
customReserved1 @108 :Custom.CustomReserved1;
customReserved2 @109 :Custom.CustomReserved2;

@ -36,6 +36,7 @@ _services: dict[str, tuple] = {
"errorLogMessage": (True, 0., 1),
"liveCalibration": (True, 4., 4),
"liveTorqueParameters": (True, 4., 1),
"liveActuatorDelay": (True, 4., 1),
"androidLog": (True, 0.),
"carState": (True, 100., 10),
"carControl": (True, 100., 10),

Loading…
Cancel
Save