Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 1631 → Rev 1632

/dongfang_FC_rewrite_tool/configsets/T28_Trojan_imu.xml
12,8 → 12,8
<bit name="Unused" value="0" />
</parameter>
 
<parameter name="gyroPIDFilterConstant" value="4" />
<parameter name="gyroDWindowLength" value="3" />
<parameter name="gyroPIDFilterConstant" value="8" />
<parameter name="gyroDWindowLength" value="8" />
<parameter name="gyroDFilterConstant" value="1" />
<parameter name="accFilterConstant" value="10" />
/dongfang_FC_rewrite_tool/configsets/Extra_330_config_imu.xml
New file
0,0 → 1,26
<imuconfiguration eepromVersion="1" length="15">
<parameter name="gyroQuadrant" value="4"/>
<parameter name="accQuadrant" value="255"/>
<parameter name="imuReversedFlags">
<bit name="IMU_REVERSE_GYRO_PR" value="1"/>
<bit name="IMU_REVERSE_GYRO_YAW" value="0"/>
<bit name="IMU_REVERSE_ACC_XY" value="0"/>
<bit name="IMU_REVERSE_ACC_Z" value="0"/>
<bit name="Unused" value="0"/>
<bit name="Unused" value="0"/>
<bit name="Unused" value="0"/>
<bit name="Unused" value="0"/>
</parameter>
<parameter name="gyroPIDFilterConstant" value="10"/>
<parameter name="gyroDWindowLength" value="3"/>
<parameter name="gyroDFilterConstant" value="1"/>
<parameter name="accFilterConstant" value="255"/>
<parameter name="zerothOrderCorrection" value="255"/>
<parameter name="rateTolerance" value="120"/>
<parameter name="gyroActivityDamping" value="255"/>
<parameter name="driftCompDivider" value="255"/>
<parameter name="driftCompLimit" value="255"/>
<parameter name="pitchGyroCalibrationTweak" value="0"/>
<parameter name="rollGyroCalibrationTweak" value="0"/>
<parameter name="yawGyroCalibrationTweak" value="0"/>
</imuconfiguration>
/dongfang_FC_rewrite_tool/configsets/FC2.0_Quadcopter_imu.xml
New file
0,0 → 1,26
<imuconfiguration eepromVersion="0" length="12" >
<parameter name="gyroQuadrant" value="2" />
<parameter name="accQuadrant" value="0" />
<parameter name="imuReversedFlags" type="bitset">
<bit name="IMU_REVERSE_GYRO_PR" value="0"/>
<bit name="IMU_REVERSE_GYRO_YAW" value="0" />
<bit name="IMU_REVERSE_ACC_XY" value="0" />
<bit name="IMU_REVERSE_ACC_Z" value="0" />
<bit name="Unused" value="0" />
<bit name="Unused" value="0" />
<bit name="Unused" value="0" />
<bit name="Unused" value="0" />
</parameter>
 
<parameter name="gyroPIDFilterConstant" value="4" />
<parameter name="gyroDWindowLength" value="24" />
<parameter name="gyroDFilterConstant" value="1" />
<parameter name="accFilterConstant" value="10" />
<parameter name="zerothOrderCorrection" value="1" />
<parameter name="rateTolerance" value="120" />
<parameter name="gyroActivityDamping" value="8" />
<parameter name="driftCompDivider" value="2" />
<parameter name="driftCompLimit" value="5" />
</imuconfiguration>
/dongfang_FC_rewrite_tool/configsets/Extra_330_config.xml
9,74 → 9,47
<bit name="unused" value="0"/>
<bit name="unused" value="0"/>
</parameter>
<parameter name="pitchGyroP" value="var1"/>
<parameter name="pitchGyroI" value="20"/>
<parameter name="pitchGyroD" value="0"/>
<parameter name="pitchGyroP" value="110"/>
<parameter name="pitchGyroI" value="80"/>
<parameter name="pitchGyroD" value="var1"/>
<parameter name="pitchGyroIMax" value="45"/>
 
<parameter name="rollGyroP" value="var2"/>
<parameter name="rollGyroI" value="20"/>
<parameter name="rollGyroD" value="0"/>
<parameter name="rollGyroP" value="25"/>
<parameter name="rollGyroI" value="18"/>
<parameter name="rollGyroD" value="var2"/>
<parameter name="rollGyroIMax" value="45"/>
 
<parameter name="yawGyroP" value="200"/>
<parameter name="yawGyroI" value="20"/>
<parameter name="yawGyroP" value="120"/>
<parameter name="yawGyroI" value="80"/>
<parameter name="yawGyroD" value="0"/>
<parameter name="yawGyroIMax" value="45"/>
 
<parameter name="stickIElevator" value="40"/>
<parameter name="stickIAilerons" value="60"/>
<parameter name="stickIRudder" value="20"/>
<parameter name="stickIElevator" value="60"/>
<parameter name="stickIAilerons" value="80"/>
<parameter name="stickIRudder" value="80"/>
<parameter name="IFactor" value="52"/>
<parameter name="externalControl" value="0"/>
<parameter name="batteryWarningVoltage" value="101"/>
<parameter name="airspeedCorrention" value="100"/>
<parameter name="airspeedCorrention" value="1"/>
<parameter name="isFlyingThreshold" value="100"/>
<parameter name="servoCount" value="7"/>
<parameter name="servosReverse">
<bit name="reverseElevator" value="1"/>
<bit name="reverseAilerons" value="0"/>
<bit name="reverserudder" value="1"/>
<bit name="reverseThrottle" value="0"/>
<bit name="reverseFeatured0" value="0"/>
<bit name="reverseFeatured1" value="0"/>
<bit name="reverseFeatured2" value="0"/>
<bit name="reverseFeatured3" value="0"/>
</parameter>
<parameter name="controlServoMinValue" value="255"/>
<parameter name="controlServoMaxValue" value="255"/>
<parameter name="gimbalServoMaxManualSpeed" value="10"/>
<parameter name="gimbalPitchServoControl" value="128"/>
<parameter name="gimbalPitchServoStabilization" value="0"/>
<parameter name="gimbalPitchServoMinValue" value="32"/>
<parameter name="gimbalPitchServoMaxValue" value="224"/>
<parameter name="gimbalPitchServoFlags">
<bit name="reverseStabilization" value="0"/>
<bit name="Unused" value="0"/>
<bit name="Unused" value="0"/>
<bit name="Unused" value="0"/>
<bit name="Unused" value="0"/>
<bit name="Unused" value="0"/>
<bit name="Unused" value="0"/>
<bit name="Unused" value="0"/>
</parameter>
<parameter name="gimbalRollServoControl" value="128"/>
<parameter name="gimbalRollServoStabilization" value="0"/>
<parameter name="gimbalRollServoMinValue" value="32"/>
<parameter name="gimbalRollServoMaxValue" value="224"/>
<parameter name="gimbalRollServoFlags">
<bit name="reverseStabilization" value="0"/>
<bit name="Unused" value="0"/>
<bit name="Unused" value="0"/>
<bit name="Unused" value="0"/>
<bit name="Unused" value="0"/>
<bit name="Unused" value="0"/>
<bit name="Unused" value="0"/>
<bit name="Unused" value="0"/>
</parameter>
 
<parameter name="elevatorServoReverse" value="0"/>
<parameter name="elevatorServoMinValue" value="-64"/>
<parameter name="elevatorServoMaxValue" value="64"/>
 
<parameter name="aileronsServoReverse" value="1"/>
<parameter name="aileronsServoMinValue" value="-64"/>
<parameter name="aileronsServoMaxValue" value="64"/>
 
<parameter name="rudderServoReverse" value="0"/>
<parameter name="rudderServoMinValue" value="-64"/>
<parameter name="rudderServoMaxValue" value="64"/>
 
<parameter name="output0BitMask">
<bit name="t0" value="1"/>
<bit name="t1" value="0"/>
/dongfang_FC_rewrite_tool/configsets/FC2.0_Quadcopter.xml
1,11 → 1,11
<parameterset eepromVersion="4" length="73" name="hundeprut">
<parameterset eepromVersion="3" length="73" name="hundeprut">
<parameter name="bitConfig">
<bit name="CFG_SIMPLE_HEIGHT_CONTROL" value="1" />
<bit name="CFG_SIMPLE_HC_HOLD_SWITCH" value="1" />
<bit name="CFG_SIMPLE_HEIGHT_CONTROL" value="0" />
<bit name="CFG_SIMPLE_HC_HOLD_SWITCH" value="0" />
<bit name="CFG_HEADING_HOLD" value="0" />
<bit name="CFG_COMPASS_ENABLED" value="1" />
<bit name="CFG_COMPASS_ENABLED" value="0" />
<bit name="CFG_UNUSED" value="0" />
<bit name="CFG_NAVI_ENABLED" value="1" />
<bit name="CFG_NAVI_ENABLED" value="0" />
<bit name="CFG_AXIS_COUPLING_ENABLED" value="0" />
<bit name="CFG_GYRO_SATURATION_PREVENTION" value="1" />
</parameter>
31,7 → 31,7
<parameter name="motorSmoothing" value="0" />
<parameter name="dynamicStability" value="50" />
<parameter name="IFactor" value="0" />
<parameter name="IFactor" value="30" />
<parameter name="yawIFactor" value="50" />
<parameter name="compassMode" value="0" />
46,7 → 46,7
<parameter name="airpressureFilterConstant" value="8" />
<parameter name="airpressureWindowLength" value="0" />
<parameter name="airpressureDWindowLength" value="24" />
<parameter name="airpressureAccZCorrection" value="0" /> <!-- 184 for my 2.0 board. -->
<parameter name="airpressureAccZCorrection" value="184" /> <!-- 184 for my 2.0 board. -->
<parameter name="heightP" value="110" />
<parameter name="heightI" value="90" />
<parameter name="heightD" value="25" /> <!-- 30 -->
/dongfang_FC_rewrite_tool/configsets/templates/imuconfiguration_v1.xml
1,4 → 1,4
<imuconfigurationtemplate eepromVersion="0" length="15" >
<imuconfigurationtemplate eepromVersion="1" length="12" >
<parameter name="gyroQuadrant" />
<parameter name="accQuadrant" />
<parameter name="imuReversedFlags" type="bitset">
23,8 → 23,4
<parameter name="driftCompDivider" />
<parameter name="driftCompLimit" />
<parameter name="pitchGyroCalibrationTweak" />
<parameter name="rollGyroCalibrationTweak" />
<parameter name="yawGyroCalibrationTweak" />
</imuconfigurationtemplate>