Added new target location algorithm.

Fixed issue with target altitude calculation.
This commit is contained in:
Nffj84
2024-07-16 18:15:10 +03:00
parent 46ad1f0ff7
commit 2b9bda1ff0
11 changed files with 98 additions and 47 deletions
+3
View File
@@ -50,6 +50,9 @@ void Config::setInitalValues(SerialPort *serial, SerialCommand *command)
responseValues = SerialResponse::getResponceValues(tempResponse);
mMaxZoom = responseValues["zoom"].toInt();
// Also update
updateState();
// Debug printing
qDebug().noquote().nospace() << "Camera resolution: " << mResolutionX << "*" << mResolutionY;
qDebug().noquote().nospace() << "Camera max zoom: " << mMaxZoom;