User Tools

Site Tools


config.h

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
config.h [2016/11/19 08:45]
silverxxx
config.h [2017/11/09 22:08] (current)
sirdomsen
Line 8: Line 8:
  
   * Settings that affect flight control, such as rate , expo, and switch assignment   * Settings that affect flight control, such as rate , expo, and switch assignment
-  * Settings that control features +  * Settings enable features 
-  * settings that control quadcopter hardware, such as motor type and frequency+  * settings depending on quadcopter hardware, such as motor type and frequency
  
 This info is for the H8 mini code, some settings may differ slightly in some builds. This info is for the H8 mini code, some settings may differ slightly in some builds.
Line 19: Line 19:
 === Rate === === Rate ===
  
-The rate is changed by the following lines in control.h file. The unit is degrees / second, and is for low rates. So on low rates (stock tx) the quad will perform a 180 degree turn in 1 second at maximum control deflection.+The rate is changed by the following lines in config.h file. The unit is degrees / second, and (on some firmwares) is for low rates. So on low rates (stock tx) the quad will perform a 180 degree turn in 1 second at maximum control deflection.
  
 <code> <code>
Line 35: Line 35:
 #define HIRATEMULTI 2.0f #define HIRATEMULTI 2.0f
 #define HIRATEMULTIYAW 2.0f #define HIRATEMULTIYAW 2.0f
 +</code>
 +
 +**Note**: On some firmwares the **high**  rates are defined, and the multiplier is for lower rates instead.
 +
 +<code>
 +// rate in deg/sec
 +// for acro mode
 +#define MAX_RATE 360.0
 +#define MAX_RATEYAW 360.0
 +
 +#define LOW_RATES_MULTI 0.5f
 </code> </code>
  
Line 96: Line 107:
     CHANNEL10,    // Return To Home     CHANNEL10,    // Return To Home
     CHANNEL11,    // Calibrate     CHANNEL11,    // Calibrate
 +    CHANNEL12,    // Throttle cut (BWHOOP)
 </code> </code>
  
-<font 14px/inherit;;inherit;;inherit>New Versions of H8mini and H101 code support DEVO_CHAN_5 - DEVO_CHAN_11 for use with deviaton tx or with nrf_multipro module ( and others ).</font>+Silverware also supports to set simply a channel number as numbered in DeviationTX:<font 14px/inherit;;inherit;;inherit>DEVO_CHAN_5 - DEVO_CHAN_11 for use with deviaton tx or with nrf_multipro module ( and others ).</font>
  
 <font 14px/inherit;;inherit;;inherit>**The Acro only versions of H8mini and H101**</font>** support a smaller set of channels ( legacy versions, no longer updated )**. <font 14px/inherit;;inherit;;inherit>**The Acro only versions of H8mini and H101**</font>** support a smaller set of channels ( legacy versions, no longer updated )**.
Line 120: Line 132:
 The auto throttle will keep a constant upwards thrust as the quad leans in one direction. Used in level mode, usually. The auto throttle will keep a constant upwards thrust as the quad leans in one direction. Used in level mode, usually.
  
-Example: Suppose the quadcopter is at a 45 degrees angle. Because of the angle, only half the thrust will contribute to maintaining thrust. The other half will provide lateral acceleration. With "auto throttle" on, the software will increase throttle to compensate. As a result, the quad will maintain altitude better while maneuvering.+Example: Suppose the quadcopter is at a 45 degrees angle. Because of the angle, only half the thrust will contribute to maintaining height. The other half will provide lateral acceleration. With "auto throttle" on, the software will increase throttle to compensate. As a result, the quad will maintain altitude better while maneuvering.
  
 <code> <code>
config.h.1479541501.txt.gz · Last modified: 2016/11/19 08:45 by silverxxx