mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-06 00:36:32 +08:00
Panda health: names and mixup fix (#25774)
* init * naming * fix names * bump cereal * bump panda * bump panda
This commit is contained in:
+1
-1
Submodule cereal updated: bd2f7fa567...513dfc7ee0
+1
-1
Submodule panda updated: 38257a93e4...046fd58e8d
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user