From b3cf76c623ba14fc5141cdbedd907119648780f9 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Tue, 12 Sep 2023 02:16:38 -0700 Subject: [PATCH] bump pandaStates to 10Hz --- cereal | 2 +- selfdrive/boardd/boardd.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cereal b/cereal index 4b334f6f10..283799bee3 160000 --- a/cereal +++ b/cereal @@ -1 +1 @@ -Subproject commit 4b334f6f10877e4a666b23983de2d27934ebf3b1 +Subproject commit 283799bee3d28cddc5aa87180ee26c1b0fb307ff diff --git a/selfdrive/boardd/boardd.cc b/selfdrive/boardd/boardd.cc index b64a81296e..4f298cbe16 100644 --- a/selfdrive/boardd/boardd.cc +++ b/selfdrive/boardd/boardd.cc @@ -472,8 +472,8 @@ void panda_state_thread(std::vector pandas, bool spoofing_started) { LOGD("start panda state thread"); - // run at 2hz - RateKeeper rk("panda_state_thread", 2); + // run at 10hz + RateKeeper rk("panda_state_thread", 10); while (!do_exit && check_all_connected(pandas)) { // send out peripheralState