mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-23 06:52:07 +08:00
Continuous harness detection (#28129)
* log sbu voltages * bump submodules
This commit is contained in:
+1
-1
Submodule cereal updated: e5cd59ef00...feef4530af
+1
-1
Submodule panda updated: cedb5fd1a6...2c937656cf
@@ -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()};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user