Skip to content

Commit

Permalink
add test4
Browse files Browse the repository at this point in the history
  • Loading branch information
zhou jielei committed Dec 12, 2024
1 parent f1691db commit 7137316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/safety.h
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ void safety_tick(const safety_config *cfg) {
bool lagging = elapsed_time > MAX(timestep * MAX_MISSED_MSGS, 1e6);
cfg->rx_checks[i].status.lagging = lagging;
if (lagging) {
controls_allowed = false;
//controls_allowed = false;
}

if (lagging || !is_msg_valid(cfg->rx_checks, i)) {
Expand Down

0 comments on commit 7137316

Please sign in to comment.