Continuous harness detection (#28129)

* log sbu voltages

* bump submodules
This commit is contained in:
Robbe Derks
2023-05-08 13:33:23 +02:00
committed by GitHub
parent f7e024f2f2
commit 6412340431
3 changed files with 4 additions and 2 deletions
+1 -1
Submodule cereal updated: e5cd59ef00...feef4530af
+1 -1
Submodule panda updated: cedb5fd1a6...2c937656cf
+2
View File
@@ -388,6 +388,8 @@ std::optional<bool> send_panda_states(PubMaster *pm, const std::vector<Panda *>
ps.setFanStallCount(health.fan_stall_count);
ps.setSafetyRxChecksInvalid((bool)(health.safety_rx_checks_invalid));
ps.setSpiChecksumErrorCount(health.spi_checksum_error_count);
ps.setSbu1Voltage(health.sbu1_voltage_mV / 1000.0f);
ps.setSbu2Voltage(health.sbu2_voltage_mV / 1000.0f);
std::array<cereal::PandaState::PandaCanState::Builder, PANDA_CAN_CNT> cs = {ps.initCanState0(), ps.initCanState1(), ps.initCanState2()};