|
|
@ -176,7 +176,7 @@ DevicePanel::DevicePanel(SettingsWindow *parent) : ListWidget(parent) { |
|
|
|
void DevicePanel::updateCalibDescription() { |
|
|
|
void DevicePanel::updateCalibDescription() { |
|
|
|
QString desc = |
|
|
|
QString desc = |
|
|
|
"openpilot requires the device to be mounted within 4° left or right and " |
|
|
|
"openpilot requires the device to be mounted within 4° left or right and " |
|
|
|
"within 5° up or down. openpilot is continuously calibrating, resetting is rarely required."; |
|
|
|
"within 5° up or 8° down. openpilot is continuously calibrating, resetting is rarely required."; |
|
|
|
std::string calib_bytes = Params().get("CalibrationParams"); |
|
|
|
std::string calib_bytes = Params().get("CalibrationParams"); |
|
|
|
if (!calib_bytes.empty()) { |
|
|
|
if (!calib_bytes.empty()) { |
|
|
|
try { |
|
|
|
try { |
|
|
|