mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 13:26:34 +00:00
Added new target location algorithm.
Fixed issue with target altitude calculation.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user