This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| yawing [2016/11/27 10:34] sirdomsen | yawing [2016/11/27 11:31] (current) silverxxx | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== My Quad yaws and or banks near full throttle! Is that normal? What to do against that? ==== | ==== My Quad yaws and or banks near full throttle! Is that normal? What to do against that? ==== | ||
| - | First of all, lets explain why Silverware | + | First of all, lets explain why Silverware | 
| BUT if not, you get the mentioned problems! | BUT if not, you get the mentioned problems! | ||
| <font inherit/ | <font inherit/ | ||
| - | |||
| - | How to solve that? Here is a text, freely copied from [[https:// | ||
| - | |||
| - | | | ||
| **My quad yaws unexpected at full throttle, one corner/side dips at full throttle** | **My quad yaws unexpected at full throttle, one corner/side dips at full throttle** | ||
| - | It can be caused by off center CG , or unmatched motors, or quad not straight. All motors have to be absolutely | + | It can be caused by off center CG , or unmatched motors, or quad not built straight. All motors have to be vertical and parallel to each other!\\ | 
| \\ | \\ | ||
| The h8 comes with many different motors made by different companies, and sometimes, the ccw and cw motors are a bit different, and can cause this.\\ | The h8 comes with many different motors made by different companies, and sometimes, the ccw and cw motors are a bit different, and can cause this.\\ | ||
| \\ | \\ | ||
| - | In config.h, there is the option //#define MIX_LOWER_THROTTLE// | + | In config.h, there is the option //#define MIX_LOWER_THROTTLE// | 
| You can add these defines in config.h around line 141:\\ | You can add these defines in config.h around line 141:\\ | ||
| - | //#define MIX_LOWER_THROTTLE\\ | + | //#define MIX_LOWER_THROTTLE// | 
| + | |||
| + | Could also add the line below, to reduce the throttle loss//:\\ | ||
| #define MIX_THROTTLE_REDUCTION_PERCENT 30// \\ | #define MIX_THROTTLE_REDUCTION_PERCENT 30// \\ | ||
| Another way would be to change the pid limits to make yaw have higher priority. In file pid.c: | Another way would be to change the pid limits to make yaw have higher priority. In file pid.c: | ||
| - | //output limit\\ | + | < | 
| - | const float outlimit[PIDNUMBER] = { 0.8 , 0.8 , 0.4 };// \\ | + | //output limit | 
| - | \\ | + | const float outlimit[PIDNUMBER] = { 0.8 , 0.8 , 0.4 };// | 
| - | //limit of integral term (abs)\\ | + | |
| + | //limit of integral term (abs) | ||
| const float integrallimit[PIDNUMBER] = { 0.8 , 0.8 , 0.4 }; // | const float integrallimit[PIDNUMBER] = { 0.8 , 0.8 , 0.4 }; // | ||
| + | </ | ||
| + | |||
| + | The default limit for roll and pitch is 0.8, and for yaw 0.4 in this case. | ||
| - | The limit for roll and pitch is 0.8, and for yaw 0.4 in this case ( defaults)\\ | + | The yaw pid limit could be increased from 0.4 in both places or the other 2 axis could be reduced, for example. | 
| - | You could increase | + | |
| Just play with these values a bit and see what happens. Sometimes even reducing yaw limit (or one of the others) can help - a quad's behavior is not always logical… | Just play with these values a bit and see what happens. Sometimes even reducing yaw limit (or one of the others) can help - a quad's behavior is not always logical… | ||