Skip to content

Instantly share code, notes, and snippets.

@mlyle
Created March 7, 2016 19:10
Show Gist options
  • Save mlyle/4b6cf6b371bb9c3d70d0 to your computer and use it in GitHub Desktop.
Save mlyle/4b6cf6b371bb9c3d70d0 to your computer and use it in GitHub Desktop.
Michaels-MBP:dronin mlyle$ ./python/import.py next cc3d_settings.bin
<?xml version="1.0" ?>
<uavobjects>
<!--Automatically generated by import.py-->
<settings>
<object name="UAVO_ActuatorSettings">
<field name="ChannelMax" values="250,250,250,250,2000,2000,2000,2000,2000,2000"/>
<field name="ChannelMin" values="125,125,125,125,1000,1000,1000,1000,1000,1000"/>
<field name="ChannelNeutral" values="129,129,129,129,1000,1000,1000,1000,1000,1000"/>
<field name="ChannelType" values="PWM,PWM,PWM,PWM,PWM,PWM,PWM,PWM,PWM,PWM"/>
<field name="MotorInputOutputCurveFit" values="1.0,0.600000023842"/>
<field name="MotorsSpinWhileArmed" values="TRUE"/>
<field name="TimerPwmResolution" values="12MHz,12MHz,1MHz,1MHz,1MHz,1MHz"/>
<field name="TimerUpdateFreq" values="0,0,50,50,50,50"/>
</object>
<object name="UAVO_AttitudeSettings">
<field name="AccelKi" values="9.99999974738e-05"/>
<field name="AccelKp" values="0.0500000007451"/>
<field name="AccelTau" values="0.10000000149"/>
<field name="BiasCorrectGyro" values="TRUE"/>
<field name="BoardRotation" values="0,0,0"/>
<field name="FilterChoice" values="CCC"/>
<field name="MagKi" values="9.99999974738e-05"/>
<field name="MagKp" values="0.0500000007451"/>
<field name="VertPositionTau" values="2.0"/>
<field name="YawBiasRate" values="9.99999997475e-07"/>
<field name="ZeroDuringArming" values="TRUE"/>
</object>
<object name="UAVO_HwCopterControl">
<field name="AccelRange" values="8G"/>
<field name="DSMxMode" values="Autodetect"/>
<field name="FlexiPort" values="Disabled"/>
<field name="GyroRange" values="2000"/>
<field name="MPU6000DLPF" values="188"/>
<field name="MPU6000Rate" values="333"/>
<field name="MainPort" values="S.Bus"/>
<field name="RcvrPort" values="Disabled"/>
<field name="USB_HIDPort" values="USBTelemetry"/>
<field name="USB_VCPPort" values="Disabled"/>
</object>
<object name="UAVO_MWRateSettings">
<field name="DerivativeGamma" values="0.0"/>
<field name="PitchRatePID" values="0.00400000018999,0.00860000029206,4.99999987369e-05,0.300000011921"/>
<field name="RollPitchRate" values="0"/>
<field name="RollRatePID" values="0.00400000018999,0.00860000029206,4.99999987369e-05,0.300000011921"/>
<field name="YawRate" values="0"/>
<field name="YawRatePID" values="0.00850000046194,0.0130000002682,0.0,0.300000011921"/>
</object>
<object name="UAVO_MixerSettings">
<field name="Curve2Source" values="Throttle"/>
<field name="Mixer10Type" values="Disabled"/>
<field name="Mixer10Vector" values="0,0,0,0,0"/>
<field name="Mixer1Type" values="Motor"/>
<field name="Mixer1Vector" values="127,0,0,0,0"/>
<field name="Mixer2Type" values="Motor"/>
<field name="Mixer2Vector" values="127,0,0,0,0"/>
<field name="Mixer3Type" values="Motor"/>
<field name="Mixer3Vector" values="127,0,0,0,0"/>
<field name="Mixer4Type" values="Motor"/>
<field name="Mixer4Vector" values="127,0,0,0,0"/>
<field name="Mixer5Type" values="Disabled"/>
<field name="Mixer5Vector" values="0,0,0,0,0"/>
<field name="Mixer6Type" values="Disabled"/>
<field name="Mixer6Vector" values="0,0,0,0,0"/>
<field name="Mixer7Type" values="Disabled"/>
<field name="Mixer7Vector" values="0,0,0,0,0"/>
<field name="Mixer8Type" values="Disabled"/>
<field name="Mixer8Vector" values="0,0,0,0,0"/>
<field name="Mixer9Type" values="Disabled"/>
<field name="Mixer9Vector" values="0,0,0,0,0"/>
<field name="ThrottleCurve1" values="0.0,0.22499999404,0.449999988079,0.675000011921,0.899999976158"/>
<field name="ThrottleCurve2" values="0.0,0.25,0.5,0.75,1.0"/>
</object>
<object name="UAVO_SensorSettings">
<field name="AccelBias" values="0.0,0.0,0.0"/>
<field name="AccelScale" values="1.0,1.0,1.0"/>
<field name="GyroScale" values="1.0,1.0,1.0"/>
<field name="MagBias" values="0.0,0.0,0.0"/>
<field name="MagScale" values="1.0,1.0,1.0"/>
<field name="XGyroTempCoeff" values="0.0,0.0,0.0,0.0"/>
<field name="YGyroTempCoeff" values="0.0,0.0,0.0,0.0"/>
<field name="ZAccelOffset" values="0.0"/>
<field name="ZGyroTempCoeff" values="0.0,0.0,0.0,0.0"/>
</object>
<object name="UAVO_StabilizationSettings">
<field name="AcroInsanityFactor" values="40.0"/>
<field name="AttitudeExpo" values="0,0,0"/>
<field name="CoordinatedFlightYawPI" values="0.0,0.10000000149,0.5"/>
<field name="DerivativeCutoff" values="20"/>
<field name="DerivativeGamma" values="1.0"/>
<field name="GyroCutoff" values="85.0"/>
<field name="HorizonExpo" values="30,30,30"/>
<field name="LowThrottleZeroIntegral" values="TRUE"/>
<field name="ManualRate" values="1200.0,1200.0,175.0"/>
<field name="MaxAxisLock" values="15"/>
<field name="MaxAxisLockRate" values="2"/>
<field name="MaxWeakLevelingRate" values="5"/>
<field name="MaximumRate" values="300.0,300.0,300.0"/>
<field name="PitchMax" values="50"/>
<field name="PitchPI" values="5.81699991226,0.0,50.0"/>
<field name="PitchRatePID" values="0.00292999995872,0.0093999998644,6.19999991613e-05,0.300000011921"/>
<field name="PitchRateTPA" values="75,0"/>
<field name="PoiMaximumRate" values="30.0,30.0,30.0"/>
<field name="RateExpo" values="80,80,30"/>
<field name="RollMax" values="50"/>
<field name="RollPI" values="5.81699991226,0.0,50.0"/>
<field name="RollRatePID" values="0.00150000001304,0.00479000015184,3.09999995807e-05,0.300000011921"/>
<field name="RollRateTPA" values="75,0"/>
<field name="VbarGyroSuppress" values="30"/>
<field name="VbarMaxAngle" values="10"/>
<field name="VbarPiroComp" values="FALSE"/>
<field name="VbarPitchPID" values="0.00499999988824,0.00200000009499,0.0"/>
<field name="VbarRollPID" values="0.00499999988824,0.00200000009499,0.0"/>
<field name="VbarSensitivity" values="0.5,0.5,0.5"/>
<field name="VbarTau" values="0.5"/>
<field name="VbarYawPID" values="0.00499999988824,0.00200000009499,0.0"/>
<field name="WeakLevelingKp" values="0.10000000149"/>
<field name="YawMax" values="35"/>
<field name="YawPI" values="2.5,0.0,50.0"/>
<field name="YawRatePID" values="0.00329999998212,0.00460000010207,0.0,0.300000011921"/>
<field name="YawRateTPA" values="75,0"/>
</object>
<object name="UAVO_SystemIdent">
<field name="Beta" values="9.94398021698,9.47828197479,6.52685403824"/>
<field name="Bias" values="-0.0177595149726,0.106884591281,0.00132760149427"/>
<field name="Noise" values="169.802947998,440.662872314,258.067901611"/>
<field name="NumAfPredicts" values="19988"/>
<field name="NumSpilledPts" values="0"/>
<field name="Period" values="0.0"/>
<field name="Tau" values="-3.52867937088"/>
</object>
<object name="UAVO_SystemSettings">
<field name="AirframeCategorySpecificConfiguration" values="1126236160,0,0,0"/>
<field name="AirframeType" values="QuadX"/>
</object>
</settings>
</uavobjects>
Michaels-MBP:dronin mlyle$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment