boardd: log voltage and current from panda (#27789)

* boardd: log voltage and current from panda

* bump cereal
pull/27794/head
Adeeb Shihadeh 2 years ago committed by GitHub
parent c56872265a
commit d16ee6ecc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cereal
  2. 2
      selfdrive/boardd/boardd.cc

@ -1 +1 @@
Subproject commit d70d215de6c584f671272d2de2f46a4f778e9f14
Subproject commit 5827c4e17ef0c6bb3de24f987ca2f5e0fb3f464b

@ -363,6 +363,8 @@ std::optional<bool> send_panda_states(PubMaster *pm, const std::vector<Panda *>
}
auto ps = pss[i];
ps.setVoltage(health.voltage_pkt);
ps.setCurrent(health.current_pkt);
ps.setUptime(health.uptime_pkt);
ps.setSafetyTxBlocked(health.safety_tx_blocked_pkt);
ps.setSafetyRxInvalid(health.safety_rx_invalid_pkt);

Loading…
Cancel
Save