Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 1560 → Rev 1561

/dongfang_FC_rewrite_tool/configsets/templates/v2.xml
0,0 → 1,176
<parametertemplate eepromVersion="2" length="72">
<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_HEADING_HOLD" />
<bit name="CFG_COMPASS_ACTIVE" />
<bit name="CFG_COMPASS_FIX" />
<bit name="CFG_GPS_ACTIVE" />
<bit name="CFG_AXIS_COUPLING_ACTIVE" />
<bit name="CFG_GYRO_SATURATION_PREVENTION" />
</parameter>
</section>
 
<section name="imu" title="IMU (gyros, accelerometer and compass)">
<parameter name="gyroQuadrant" />
<parameter name="accQuadrant" />
<parameter name="imuReversedFlags" type="bitset">
<bit name="IMU_REVERSE_GYRO_PR" />
<bit name="IMU_REVERSE_GYRO_YAW" />
<bit name="IMU_REVERSE_ACC_XY" />
<bit name="IMU_REVERSE_ACC_Z" />
<bit name="Unused" />
<bit name="Unused" />
<bit name="Unused" />
<bit name="Unused" />
</parameter>
 
<parameter name="gyroPIDFilterConstant" />
<parameter name="gyroATTFilterConstant" />
<parameter name="gyroDFilterConstant" />
<parameter name="accFilterConstant" />
 
<parameter name="maxAccVector" />
<parameter name="maxControlActivity" />
<parameter name="zerothOrderCorrection" />
<parameter name="driftCompDivider" />
<parameter name="driftCompLimit" />
 
<parameter name="axisCoupling1" />
<parameter name="axisCoupling2" />
<parameter name="axisCouplingYawCorrection" />
 
<parameter name="levelCorrectionPitch" type="dynamic"/>
<parameter name="levelCorrectionRoll" type="dynamic"/>
</section>
 
<section name="control" title="Control">
<parameter name="gyroP" section="control" type="dynamic" />
<parameter name="gyroI" section="control" type="dynamic" />
<parameter name="gyroD" section="control" type="dynamic" />
 
<parameter name="attitudeControl" type="dynamic"/>
 
<parameter name="stickP" />
<parameter name="stickD" />
<parameter name="stickYawP" />
<parameter name="stickThrottleD" />
 
<parameter name="minThrottle" />
<parameter name="maxThrottle" />
 
<parameter name="externalControl" type="dynamic"/>
<parameter name="motorSmoothing" />
 
<parameter name="dynamicStability" type="dynamic" />
<parameter name="IFactor" />
<parameter name="yawIFactor" />
<parameter name="compassYawEffect" type="dynamic" />
<parameter name="batteryVoltageWarning" />
<parameter name="emergencyThrottle" />
<parameter name="emergencyFlightDuration" />
</section>
 
<section name="heightcontrol" title="Height Control">
<parameter name="airpressureFilter" />
<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="heightControlMaxIntegral" />
<parameter name="heightMaxThrottleChange" />
<parameter name="heightSlewRate" />
</section>
 
<section name="servos">
<parameter name="servoCount" />
<parameter name="servoManualMaxSpeed" />
<parameter name="pitchServoControl" 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" 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" 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" 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="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>