Skip to content

Commit

Permalink
seems to be flipped (commaai#23213)
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane authored Dec 14, 2021
1 parent af5a418 commit c84310c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions selfdrive/ui/qt/offroad/settings.cc
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ void DevicePanel::updateCalibDescription() {
double pitch = calib.getRpyCalib()[1] * (180 / M_PI);
double yaw = calib.getRpyCalib()[2] * (180 / M_PI);
desc += QString(" Your device is pointed %1° %2 and %3° %4.")
.arg(QString::number(std::abs(pitch), 'g', 1), pitch > 0 ? "up" : "down",
QString::number(std::abs(yaw), 'g', 1), yaw > 0 ? "right" : "left");
.arg(QString::number(std::abs(pitch), 'g', 1), pitch > 0 ? "down" : "up",
QString::number(std::abs(yaw), 'g', 1), yaw > 0 ? "left" : "right");
}
} catch (kj::Exception) {
qInfo() << "invalid CalibrationParams";
Expand Down

0 comments on commit c84310c

Please sign in to comment.