diff --git a/ground/src/plugins/config/configahrswidget.cpp b/ground/src/plugins/config/configahrswidget.cpp index bb58791d3..bff295dea 100644 --- a/ground/src/plugins/config/configahrswidget.cpp +++ b/ground/src/plugins/config/configahrswidget.cpp @@ -659,12 +659,13 @@ void ConfigAHRSWidget::drawVariancesGraph() float gyro_z_var = -1/steps*(1+steps+log10(field->getValue(2).toFloat())); gyro_z->setTransform(QTransform::fromScale(1,gyro_z_var),false); + // Scale by 1e-3 because mag vars are much higher. field = obj->getField(QString("mag_var")); - float mag_x_var = -1/steps*(1+steps+log10(field->getValue(0).toFloat())); + float mag_x_var = -1/steps*(1+steps+log10(1e-3*field->getValue(0).toFloat())); mag_x->setTransform(QTransform::fromScale(1,mag_x_var),false); - float mag_y_var = -1/steps*(1+steps+log10(field->getValue(1).toFloat())); + float mag_y_var = -1/steps*(1+steps+log10(1e-3*field->getValue(1).toFloat())); mag_y->setTransform(QTransform::fromScale(1,mag_y_var),false); - float mag_z_var = -1/steps*(1+steps+log10(field->getValue(2).toFloat())); + float mag_z_var = -1/steps*(1+steps+log10(1e-3*field->getValue(2).toFloat())); mag_z->setTransform(QTransform::fromScale(1,mag_z_var),false); } diff --git a/ground/src/plugins/config/images/ahrs-calib.svg b/ground/src/plugins/config/images/ahrs-calib.svg index 2f320a37a..f7b629c62 100644 --- a/ground/src/plugins/config/images/ahrs-calib.svg +++ b/ground/src/plugins/config/images/ahrs-calib.svg @@ -14,7 +14,7 @@ height="258.02744" id="svg10068" version="1.1" - inkscape:version="0.47 r22583" + inkscape:version="0.48.0 r9654" sodipodi:docname="ahrs-calib.svg" inkscape:export-filename="H:\Documents\Hobbies\W433\My Gauges\vbat-001.png" inkscape:export-xdpi="103.61" @@ -286,14 +286,14 @@ borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" - inkscape:zoom="2.8" + inkscape:zoom="1.4" inkscape:cx="574.08216" - inkscape:cy="117.47189" + inkscape:cy="191.7576" inkscape:document-units="px" inkscape:current-layer="background" showgrid="false" inkscape:window-width="1366" - inkscape:window-height="693" + inkscape:window-height="691" inkscape:window-x="0" inkscape:window-y="24" inkscape:window-maximized="1" @@ -474,16 +474,16 @@ style="font-size:23.50640677999999895px;fill:#ffffff;fill-opacity:1">Gyro Mag + style="font-size:23.50640678px;fill:#ffffff;fill-opacity:1">Mag*1E-3