@ -242,9 +245,11 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
@@ -242,9 +245,11 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
qDebug()<<"Unknown cal firmware version, using log";
QStringmsg="Unsupported calibration firmware version, using log";
_appendStatusLog(msg);
qDebug()<<msg;
return;
}
@ -287,7 +292,10 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
@@ -287,7 +292,10 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
}elseif(text=="mag"){
_magCalInProgress=true;
_orientationCalDownSideVisible=true;
_orientationCalUpsideDownSideVisible=true;
_orientationCalLeftSideVisible=true;
_orientationCalRightSideVisible=true;
_orientationCalTailDownSideVisible=true;
_orientationCalNoseDownSideVisible=true;
}elseif(text=="gyro"){
_gyroCalInProgress=true;
@ -314,6 +322,9 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
@@ -314,6 +322,9 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
}
}elseif(side=="up"){
_orientationCalUpsideDownSideInProgress=true;
if(_magCalInProgress){
_orientationCalUpsideDownSideRotate=true;
}
}elseif(side=="left"){
_orientationCalLeftSideInProgress=true;
if(_magCalInProgress){
@ -321,6 +332,9 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
@@ -321,6 +332,9 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
}
}elseif(side=="right"){
_orientationCalRightSideInProgress=true;
if(_magCalInProgress){
_orientationCalRightSideRotate=true;
}
}elseif(side=="front"){
_orientationCalNoseDownSideInProgress=true;
if(_magCalInProgress){
@ -328,6 +342,9 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
@@ -328,6 +342,9 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in