This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docs:config.h [2017/10/31 11:46] silverxxx |
docs:config.h [2017/10/31 11:50] (current) silverxxx |
||
---|---|---|---|
Line 72: | Line 72: | ||
Available channels depend on the //radio protocol// selected, the ones described are for Bayang protocol ( recomended ) | Available channels depend on the //radio protocol// selected, the ones described are for Bayang protocol ( recomended ) | ||
- | === | + | === Stock tx === |
The trim buttons do not do anything in the stock tx. To use the trims for controlling a function, set the function channel to the trim (such as CH_PIT_TRIM - pitch trims) and enable "# | The trim buttons do not do anything in the stock tx. To use the trims for controlling a function, set the function channel to the trim (such as CH_PIT_TRIM - pitch trims) and enable "# | ||
//Do not enable " | //Do not enable " | ||
- | === | + | === Devo tx === |
Silverware supports setting a channel number as found in DeviationTX:< | Silverware supports setting a channel number as found in DeviationTX:< | ||
Line 87: | Line 87: | ||
For the multimodule, | For the multimodule, | ||
- | ==== | + | ==== Auto throttle feature ==== |
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. | ||
Line 97: | Line 97: | ||
</ | </ | ||
- | ==== | + | ==== Lower throttle feature ==== |
With this option enabled, the quadcopter will lower the throttle in order to maintain better control near full throttle. Without it (default) the quadcopter will usually lean slightly in one direction at full throttle, as there may not be enough control ability. ( at least one motor is producing maximum thrust ). The throttle is lowered by an amount as such that the motors are no longer maxed. | With this option enabled, the quadcopter will lower the throttle in order to maintain better control near full throttle. Without it (default) the quadcopter will usually lean slightly in one direction at full throttle, as there may not be enough control ability. ( at least one motor is producing maximum thrust ). The throttle is lowered by an amount as such that the motors are no longer maxed. | ||
Line 115: | Line 115: | ||
</ | </ | ||
- | ==== \\ | + | ==== Throttle transient compensation ==== |
- | **Throttle transient compensation | + | |
The TTCF feature improves throttle response of the quadcopter. The curve has been measured for 6mm motors, and it may not work the same with other motors. The factor can be adjusted also by adding the line to config.h. With this feature on, the quadcopter will react faster to throttle changes. | The TTCF feature improves throttle response of the quadcopter. The curve has been measured for 6mm motors, and it may not work the same with other motors. The factor can be adjusted also by adding the line to config.h. With this feature on, the quadcopter will react faster to throttle changes. | ||
Line 129: | Line 128: | ||
</ | </ | ||
- | ==== | + | ==== Gyro lpf filter (software) ==== |
The software lpf filter is a custom gyro filter, additional to the hardware filter which is present in the gyro device. The hardware filter is set around 43Hz by default, but for additional vibration removal, a software filter can be added. | The software lpf filter is a custom gyro filter, additional to the hardware filter which is present in the gyro device. The hardware filter is set around 43Hz by default, but for additional vibration removal, a software filter can be added. | ||
Line 152: | Line 151: | ||
</ | </ | ||
- | ==== | + | ==== Gyro lpf filter (hardware) ==== |
The hardware gyro lpf filter is part of the gyro integrated circuit. It's setting changes the frequency of the internal filter. The internal filter also has a latency which may affect pid P and D terms. A lower latency may be better, however vibration will limit the usefulness of higher gyro frequencies. The " | The hardware gyro lpf filter is part of the gyro integrated circuit. It's setting changes the frequency of the internal filter. The internal filter also has a latency which may affect pid P and D terms. A lower latency may be better, however vibration will limit the usefulness of higher gyro frequencies. The " | ||
Line 165: | Line 164: | ||
</ | </ | ||
- | ==== | + | ==== Motor filter feature ==== |
There are 2 motor filtering options, a hanning 3 tap filter which reduces very high frequencies only, and a 1st order low pass filter that uses a coefficient as a setting. The motor filter has effects on pid tuning similar to those of the gyro low pass filters. | There are 2 motor filtering options, a hanning 3 tap filter which reduces very high frequencies only, and a 1st order low pass filter that uses a coefficient as a setting. The motor filter has effects on pid tuning similar to those of the gyro low pass filters. |