Panda health: names and mixup fix (#25774)

* init

* naming

* fix names

* bump cereal

* bump panda

* bump panda
old-commit-hash: d5410dfac5
taco
Igor Biletskyy 3 years ago committed by GitHub
parent 46cfb5c45b
commit 99fa17ef7e
  1. 2
      cereal
  2. 2
      panda
  3. 8
      selfdrive/boardd/boardd.cc

@ -1 +1 @@
Subproject commit bd2f7fa56706bcec3c9906bd57c2ec46f0666ac5
Subproject commit 513dfc7ee001243cd68a57a9d92fe3170fc49c7d

@ -1 +1 @@
Subproject commit 38257a93e4733819a109a4ef52efed1bbeb45cc4
Subproject commit 046fd58e8d64c58ed80769fcbec5ac2417a04c71

@ -346,14 +346,14 @@ std::optional<bool> send_panda_states(PubMaster *pm, const std::vector<Panda *>
auto ps = pss[i];
ps.setUptime(health.uptime_pkt);
ps.setBlockedCnt(health.blocked_msg_cnt_pkt);
ps.setSafetyTxBlocked(health.safety_tx_blocked_pkt);
ps.setSafetyRxInvalid(health.safety_rx_invalid_pkt);
ps.setIgnitionLine(health.ignition_line_pkt);
ps.setIgnitionCan(health.ignition_can_pkt);
ps.setControlsAllowed(health.controls_allowed_pkt);
ps.setGasInterceptorDetected(health.gas_interceptor_detected_pkt);
ps.setCanRxErrs(health.can_rx_errs_pkt);
ps.setCanSendErrs(health.can_send_errs_pkt);
ps.setCanFwdErrs(health.can_fwd_errs_pkt);
ps.setTxBufferOverflow(health.tx_buffer_overflow_pkt);
ps.setRxBufferOverflow(health.rx_buffer_overflow_pkt);
ps.setGmlanSendErrs(health.gmlan_send_errs_pkt);
ps.setPandaType(panda->hw_type);
ps.setSafetyModel(cereal::CarParams::SafetyModel(health.safety_mode_pkt));

Loading…
Cancel
Save