Skip to content

Commit

Permalink
add second temperatureSensor and reduce freq
Browse files Browse the repository at this point in the history
  • Loading branch information
Comma Device committed Aug 22, 2023
1 parent e7c42fd commit f3a5a43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions log.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -2188,6 +2188,7 @@ struct Event {
magnetometer @95 :SensorEventData;
lightSensor @96 :SensorEventData;
temperatureSensor @97 :SensorEventData;
temperatureSensor2 @123 :SensorEventData;
pandaStates @81 :List(PandaState);
peripheralState @80 :PeripheralState;
radarState @13 :RadarState;
Expand Down
3 changes: 2 additions & 1 deletion services.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def __init__(self, port: int, should_log: bool, frequency: float, decimation: Op
"accelerometer2": (True, 100., 100),
"magnetometer": (True, 25., 25),
"lightSensor": (True, 100., 100),
"temperatureSensor": (True, 100., 100),
"temperatureSensor": (True, 2., 200),
"temperatureSensor2": (True, 2., 200),
"gpsNMEA": (True, 9.),
"deviceState": (True, 2., 1),
"can": (True, 100., 1223), # decimation gives ~5 msgs in a full segment
Expand Down

0 comments on commit f3a5a43

Please sign in to comment.