Commit 3fafb8bb authored by Don Gagne's avatar Don Gagne

Merge pull request #1387 from DonLakeFlyer/Cal

Pull full param list after calibration
parents dfc735ec 64ec6111
......@@ -267,6 +267,7 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
void SensorsComponentController::_refreshParams(void)
{
// Pull specified params first so red/green indicators update quickly
_autopilot->refreshParameter("CAL_MAG0_ID");
_autopilot->refreshParameter("CAL_GYRO0_ID");
_autopilot->refreshParameter("CAL_ACC0_ID");
......@@ -276,6 +277,9 @@ void SensorsComponentController::_refreshParams(void)
_autopilot->refreshParameter("CAL_MAG1_ROT");
_autopilot->refreshParameter("CAL_MAG2_ROT");
_autopilot->refreshParameter("SENS_BOARD_ROT");
// Pull full set in order to get all cal values back
_autopilot->refreshAllParameters();
}
bool SensorsComponentController::fixedWing(void)
......
......@@ -50,6 +50,17 @@ Rectangle {
font.pointSize: screenTools.dpiAdjustedPointSize(20);
}
Item {
// Just used as a spacer
height: 15
width: 10
}
QGCLabel {
width: parent.width
text: "If any of the setup indicators below are shown as red YOU SHOULD NOT FLY until you complete the setup of those components."
}
Item {
// Just used as a spacer
height: 20
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment