Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 1795 → Rev 1796

/dongfang_FC_rewrite_tool/configsets/templates/parameterset_v4.xml
New file
0,0 → 1,173
<parametertemplate eepromVersion="4" length="79">
<section name="config" title="Configuration">
<parameter name="bitConfig" type="bitset">
<bit name="CFG_SIMPLE_HEIGHT_CONTROL" />
<bit name="CFG_SIMPLE_HC_HOLD_SWITCH" />
<bit name="CFG_UNUSED" />
<bit name="CFG_COMPASS_ACTIVE" />
<bit name="CFG_UNUSED2" />
<bit name="CFG_GPS_ACTIVE" />
<bit name="CFG_UNUSED3" />
<bit name="CFG_GYRO_SATURATION_PREVENTION" />
</parameter>
<parameter name="flightMode" type="dynamic" />
</section>
 
<section name="control" title="Control">
<parameter name="levelCorrectionPitch" staticCodeName="levelCorrection[0]" dynamicCodeName="levelCorrection[0]" type="dynamic"/>
<parameter name="levelCorrectionRoll" staticCodeName="levelCorrection[1]" dynamicCodeName="levelCorrection[1]" type="dynamic"/>
 
<parameter name="attGyroP" section="control" type="dynamic" />
<parameter name="attGyroI" section="control" type="dynamic" />
<parameter name="attGyroIMax" section="control" type="static" />
<parameter name="attGyroD" section="control" type="dynamic" />
<parameter name="rateGyroP" section="control" type="dynamic" />
<parameter name="rateGyroI" section="control" type="dynamic" />
<parameter name="rateGyroIMax" section="control" type="static" />
<parameter name="rateGyroD" section="control" type="dynamic" />
<parameter name="yawGyroP" section="control" type="dynamic" />
<parameter name="yawGyroI" section="control" type="dynamic" />
<parameter name="yawGyroD" section="control" type="dynamic" />
<parameter name="externalControl" type="dynamic"/>
<parameter name="attitudeControl" type="dynamic"/>
<parameter name="motorSmoothing" />
 
<parameter name="stickP" />
<parameter name="stickD" />
<parameter name="stickYawP" />
<parameter name="stickThrottleD" />
 
<parameter name="minThrottle" />
<parameter name="maxThrottle" />
 
<parameter name="compassMode" type="dynamic" />
<parameter name="compassYawCorrection" />
<parameter name="compassBendingReturnSpeed" />
<parameter name="compassP" />
 
<parameter name="batteryVoltageWarning" />
<parameter name="emergencyThrottle" />
<parameter name="emergencyFlightDuration" />
</section>
 
<section name="heightcontrol" title="Height Control">
<parameter name="airpressureFilterConstant" />
<parameter name="airpressureWindowLength" />
<parameter name="airpressureDWindowLength" />
<parameter name="airpressureAccZCorrection" />
<parameter name="heightP" type="dynamic"/>
<parameter name="heightI" type="dynamic"/>
<parameter name="heightD" type="dynamic"/>
<parameter name="heightSetting" type="dynamic"/>
<parameter name="heightControlMaxIntegralIn" />
<parameter name="heightControlMaxIntegralOut" />
<parameter name="heightMaxThrottleChange" />
<parameter name="heightControlTestOscPeriod" />
<parameter name="heightControlTestOscAmplitude" />
</section>
 
<section name="servos">
<parameter name="servoCount" />
<parameter name="servoManualMaxSpeed" />
<parameter name="pitchServoControl" staticCodeName="servoConfigurations[0].manualControl" dynamicCodeName="servoManualControl[0]" type="dynamic"/>
<parameter name="pitchServoStabilization" />
<parameter name="pitchServoMinValue" />
<parameter name="pitchServoMaxValue" />
<parameter name="pitchServoFlags" type="bitset">
<bit name="reverseStabilization" />
<bit name="Unused" />
<bit name="Unused" />
<bit name="Unused" />
<bit name="Unused" />
<bit name="Unused" />
<bit name="Unused" />
<bit name="Unused" />
</parameter>
<parameter name="rollServoControl" staticCodeName="servoConfigurations[1].manualControl" dynamicCodeName="servoManualControl[1]" type="dynamic"/>
<parameter name="rollServoStabilization" />
<parameter name="rollServoMinValue" />
<parameter name="rollServoMaxValue" />
<parameter name="rollServoFlags" type="bitset">
<bit name="reverseStabilization" />
<bit name="Unused" />
<bit name="Unused" />
<bit name="Unused" />
<bit name="Unused" />
<bit name="Unused" />
<bit name="Unused" />
<bit name="Unused" />
</parameter>
</section>
 
<section name="output">
<parameter name="output0BitMask" type="bitset">
<bit name="t0" />
<bit name="t1" />
<bit name="t2" />
<bit name="t3" />
<bit name="t4" />
<bit name="t5" />
<bit name="t6" />
<bit name="t7" />
</parameter>
<parameter name="output0Timing" staticCodeName="outputFlash[0].timing" dynamicCodeName="output0Timing" type="dynamic"/>
<parameter name="output1BitMask" type="bitset">
<bit name="t0" />
<bit name="t1" />
<bit name="t2" />
<bit name="t3" />
<bit name="t4" />
<bit name="t5" />
<bit name="t6" />
<bit name="t7" />
</parameter>
<parameter name="output1Timing" staticCodeName="outputFlash[1].timing" dynamicCodeName="output1Timing" type="dynamic"/>
<parameter name="outputDebugMask" type="bitset">
<bit name="DEBUG_MAINLOOP_TIMER" />
<bit name="DEBUG_HEIGHT_DIFF" />
<bit name="DEBUG_HOVERTHROTTLE" />
<bit name="DEBUG_ACC0THORDER" />
<bit name="DEBUG_SIGNAL" />
<bit name="DEBUG_PRESSURERANGE" />
<bit name="DEBUG_CLIP" />
<bit name="DEBUG_SENSORLIMIT" />
</parameter>
 
<parameter name="outputFlags" type="bitset">
<bit name="INVERT_OUTPUT0" />
<bit name="INVERT_OUTPUT1" />
<bit name="FLASH_OUTPUT0_BEEPING" />
<bit name="FLASH_OUTPUT1_BEEPING" />
<bit name="USE_ONBOARD_LEDS" />
<bit name="TEST_OFF" />
<bit name="TEST_ON" />
<bit name="UNUSED" />
</parameter>
</section>
 
<section name="navigation" title="Navigation">
<parameter name="naviMode" type="dynamic"/>
<parameter name="naviStickThreshold" />
<parameter name="naviStickLimit" />
<parameter name="GPSMinimumSatellites" />
<parameter name="naviP" />
<parameter name="naviI" />
<parameter name="naviD" />
<parameter name="naviTestOscPeriod" />
<parameter name=" naviTestOscAmplitude" />
</section>
 
<section name="userparams" title="User Parameters">
<parameter name="userparam0" />
<parameter name="userparam1" />
<parameter name="userparam2" />
<parameter name="userparam3" />
<parameter name="userparam4" />
<parameter name="userparam5" />
<parameter name="userparam6" />
<parameter name="userparam7" />
</section>
</parametertemplate>