Skip to content

Commit 38697ac

Browse files
Fix typo in phoneProbValidCount field name (#36662)
* Fix typo in phoneProbValidCount field name * Fix typo in phoneProbValidCount key
1 parent fa56d53 commit 38697ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cereal/log.capnp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2227,7 +2227,7 @@ struct DriverMonitoringState @0xb83cda094a1da284 {
22272227
isRHD @4 :Bool;
22282228
uncertainCount @19 :UInt32;
22292229
phoneProbOffset @20 :Float32;
2230-
phoneProbalidCount @21 :UInt32;
2230+
phoneProbValidCount @21 :UInt32;
22312231

22322232
isPreviewDEPRECATED @15 :Bool;
22332233
rhdCheckedDEPRECATED @5 :Bool;

selfdrive/monitoring/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ def get_state_packet(self, valid=True):
407407
"poseYawOffset": self.pose.yaw_offseter.filtered_stat.mean(),
408408
"poseYawValidCount": self.pose.yaw_offseter.filtered_stat.n,
409409
"phoneProbOffset": self.phone.prob_offseter.filtered_stat.mean(),
410-
"phoneProbalidCount": self.phone.prob_offseter.filtered_stat.n,
410+
"phoneProbValidCount": self.phone.prob_offseter.filtered_stat.n,
411411
"stepChange": self.step_change,
412412
"awarenessActive": self.awareness_active,
413413
"awarenessPassive": self.awareness_passive,

0 commit comments

Comments
 (0)