Skip to content

Commit

Permalink
not while calibrating
Browse files Browse the repository at this point in the history
  • Loading branch information
pd0wm committed Jun 27, 2022
1 parent 8b0b69c commit dbf82d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/ui/ui.cc
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ static void update_state(UIState *s) {
scene.view_from_calib.v[i*3 + j] = view_from_calib(i,j);
}
}
scene.calibration_valid = sm["liveCalibration"].getLiveCalibration().getCalStatus() != 2;
scene.calibration_valid = sm["liveCalibration"].getLiveCalibration().getCalStatus() == 1;
}
if (s->worldObjectsVisible()) {
if (sm.updated("modelV2")) {
Expand Down

0 comments on commit dbf82d8

Please sign in to comment.