This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
basic_stock_tx [2016/10/09 02:48] ian446 |
basic_stock_tx [2020/04/19 14:28] (current) fenrisulven |
||
---|---|---|---|
Line 7: | Line 7: | ||
There are 2 ways you can do this, you can use " | There are 2 ways you can do this, you can use " | ||
- | **Gestures** | + | **[[: |
There are some conditions to using gestures: | There are some conditions to using gestures: | ||
- Obviously you can only do it when the quad is not flying. | - Obviously you can only do it when the quad is not flying. | ||
- | | + | - The stick movements need to be precise, for example, when you move the stick left, try not to add much up or down component. |
- | | + | |
- The left/ | - The left/ | ||
- Make sure you wait a couple of seconds if you fail to get the gesture right, as the code needs that time to restart. | - Make sure you wait a couple of seconds if you fail to get the gesture right, as the code needs that time to restart. | ||
Line 20: | Line 19: | ||
The default settings in the firmware are with gestures enabled to switch between acro and level modes, so no changes are needed. This is the line where AUX 1 is enabled as the level/acro switch, and the default firmware setting looks like this: | The default settings in the firmware are with gestures enabled to switch between acro and level modes, so no changes are needed. This is the line where AUX 1 is enabled as the level/acro switch, and the default firmware setting looks like this: | ||
- | |||
< | < | ||
+ | |||
// level / acro mode switch | // level / acro mode switch | ||
#define LEVELMODE CH_AUX1 | #define LEVELMODE CH_AUX1 | ||
+ | |||
</ | </ | ||
Line 31: | Line 31: | ||
// aux1 channel starts on if this is defined, otherwise off. | // aux1 channel starts on if this is defined, otherwise off. | ||
#define AUX1_START_ON | #define AUX1_START_ON | ||
+ | |||
</ | </ | ||
- | Note for H8 mini blue board firmware - this firmware has a gestures1 or gestures2 option. For our purposes here, we want the gestures2 option selected, which is the default setting and looks like this: (gestures1 will do the accel cal only) | + | Note for H8 mini blue board firmware - this firmware has a gestures1 or gestures2 option. For our purposes here, we want the gestures2 option selected, which is the default setting and looks like this: (gestures1 will do the old accel cal only - hold down for a while - to save memory) |
< | < | ||
Line 39: | Line 40: | ||
//#define GESTURES1_ENABLE | //#define GESTURES1_ENABLE | ||
#define GESTURES2_ENABLE | #define GESTURES2_ENABLE | ||
+ | |||
</ | </ | ||
<font 16px/ | <font 16px/ | ||
- | Before reading any further, this feature is not available in H8 mini blue code or CG023 code at this point in time (Oct 2016). It is available only in the H8 mini green and H101 firmwares. | + | Before reading any further, this feature is not available in CG023 code at this point in time (Nov 2016). It is available only in the H8 mini green, H8 mini blue and H101 firmwares. |
Setting up a trim switch to switch between level and acro will enable switching on the ground or during flight, but the main advantage is that it is more convenient than using gestures. Here's an example of how to set the roll trim switch to change the flight mode: | Setting up a trim switch to switch between level and acro will enable switching on the ground or during flight, but the main advantage is that it is more convenient than using gestures. Here's an example of how to set the roll trim switch to change the flight mode: | ||
Line 52: | Line 54: | ||
// level / acro mode switch | // level / acro mode switch | ||
#define LEVELMODE CH_AUX1 | #define LEVELMODE CH_AUX1 | ||
+ | |||
</ | </ | ||
Line 59: | Line 62: | ||
// level / acro mode switch | // level / acro mode switch | ||
#define LEVELMODE CH_RLL_TRIM | #define LEVELMODE CH_RLL_TRIM | ||
+ | |||
</ | </ | ||
Line 67: | Line 71: | ||
// devo/tx module incompatible | // devo/tx module incompatible | ||
#define USE_STOCK_TX | #define USE_STOCK_TX | ||
+ | |||
</ | </ | ||
Line 78: | Line 83: | ||
// CH_THR_TRIM - 8 - Throttle trims | // CH_THR_TRIM - 8 - Throttle trims | ||
// CH_YAW_TRIM - 9 - Yaw trims | // CH_YAW_TRIM - 9 - Yaw trims | ||
+ | |||
</ | </ | ||
Line 85: | Line 91: | ||
// rates / expert mode | // rates / expert mode | ||
#define RATES CH_PIT_TRIM | #define RATES CH_PIT_TRIM | ||
+ | |||
</ | </ | ||