jhan1

  • *
  • 28
Thermal Calibration Export/Import
« on: September 07, 2015, 04:04:31 pm »
I've always thought it was a little daunting to save a thermal cal setting.  I thought it might be helpful to have a dedicated area in the GCS to export and import this info.  It would be nice to just have to do this once and then be able to import it back in.

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Thermal Calibration Export/Import
« Reply #1 on: September 07, 2015, 10:17:12 pm »
Currently you can save your config, edit file and keep only the interesting part.
Save as thermal.uav

Every time you include thermal parameters, just import thermal.uav

liftbag

  • *****
  • 215
    • LibrePilot
Re: Thermal Calibration Export/Import
« Reply #2 on: September 10, 2015, 09:45:39 am »
Good point Laurent.
Would be useful to show what lines need to be saved.
I can barely remember the checkboxes in the dialog box while importing.

jhan1

  • *
  • 28
Re: Thermal Calibration Export/Import
« Reply #3 on: September 10, 2015, 12:38:57 pm »
Thanks Guys, dug up a few old posts to review how it can be done.  It doesn't look too hard to do, but still a bit of a challenge for a average computer geek like myself.  On a side note I put my revo in the freezer to do the calibration and FORGOT about it! :-\ .  Had one chilly piece of hardware when I found it the next day....Lol  :D

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Thermal Calibration Export/Import
« Reply #4 on: September 10, 2015, 04:09:49 pm »
I think the above data i ok if you want to import a previous calibration :

Code: [Select]
<!DOCTYPE UAVObjects>
<uavobjects>
    <settings>
        <object name="AccelGyroSettings" id="0x1262B2D0">
            <field name="accel_bias" values="-0.000841957,-0.0601984,-0.569099"/>
            <field name="accel_scale" values="1.00235,0.994619,0.988395"/>
            <field name="accel_temp_coeff" values="0,0,0"/>
            <field name="gyro_bias" values="0.0322891,0.00425314,0.00241962"/>
            <field name="gyro_scale" values="1,1,1"/>
            <field name="gyro_temp_coeff" values="-0.0186192,-0.00151585,-0.0267329,0.000716467,-0.0101649,0.00010742"/>
            <field name="temp_calibrated_extent" values="-15.8235,72.0824"/>
        </object>
        <object name="RevoSettings" id="0xC456EB9A">
            <field name="BaroGPSOffsetCorrectionAlpha" values="0.999334"/>
            <field name="MagnetometerMaxDeviation" values="0.05,0.15"/>
            <field name="BaroTempCorrectionPolynomial" values="-0.0644952,0.00604459,-0.000197262,1.42936e-06"/>
            <field name="BaroTempCorrectionExtent" values="-17.42,72.04"/>
            <field name="VelocityPostProcessingLowPassAlpha" values="0.999"/>
            <field name="FusionAlgorithm" values="Basic (Complementary)"/>
        </object>
    </settings>
</uavobjects>

Note from the code above you don't need this range for calibration. Min/Max temp should be in range you find in normal conditions while flying :)

liftbag

  • *****
  • 215
    • LibrePilot
Re: Thermal Calibration Export/Import
« Reply #5 on: September 11, 2015, 07:50:05 am »
Thanks a lot Laurent

Wagsy

  • *
  • 87
    • Rotorpix
Re: Thermal Calibration Export/Import
« Reply #6 on: September 11, 2015, 09:57:01 am »
Frozen REVO lol.
Thanks for that, might give it ago at importing.