Skip to content

Commit

Permalink
Fix runaway supervision after TR
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarBLG committed Dec 7, 2023
1 parent 028301c commit 3ed360c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions EVC/Supervision/supervision.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,11 @@ void update_supervision()
V_perm = V_target = V_release = V_sbi = 0;
supervision = IntS;
MRDT = nullptr;
standstill_applied = rollaway_applied = rmp_applied = pt_applied = false;
standstill_position = {};
rollaway_position = {};
rmp_position = {};
pt_position = {};
return;
}
if (mode == Mode::SB) {
Expand Down

0 comments on commit 3ed360c

Please sign in to comment.