User Tools

Site Tools


basic_devo_multipro

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
basic_devo_multipro [2016/10/09 02:13]
ian446
basic_devo_multipro [2017/06/12 23:11] (current)
sirdomsen
Line 15: Line 15:
  
 Change the default level/acro switch in config.h from this: Change the default level/acro switch in config.h from this:
-<code>#define LEVELMODE CH_AUX1</code>+ 
 +<code> 
 +#define LEVELMODE CH_AUX1 
 +</code> 
 to this: to this:
-<code>#define LEVELMODE CH_HEADFREE</code> 
  
-For a Devo or other tx using a Goebish multiprotocol module, it is sufficient to set the scale for each stick to + and - 100%.+<code> 
 +#define LEVELMODE CH_HEADFREE 
 +</code> 
 + 
 +For a Devo or other tx using a Goebish multiprotocol module, it is sufficient to set the scale for each stick (or switch) to + and - 100%.
  
 If you want to do an accel calibration, or use gestures to switch from level to acro mode, make sure your rates are at least 85%, or the stick movements will not register with the FC. Also, you need to be in level mode for an accel cal to work. If you want to do an accel calibration, or use gestures to switch from level to acro mode, make sure your rates are at least 85%, or the stick movements will not register with the FC. Also, you need to be in level mode for an accel cal to work.
Line 29: Line 36:
 Here is a pic of a Devo screen showing a level/acro switch set up on Ch 6 (thanks to czajunia on rcgroups). The HOLD1 switch has been selected as the source in the Devo, and the curve is set to min/max, so the radio output is -100 or +100 depending on the position of the HOLD1 toggle switch. For Devo Ch 6, you would set the level/acro switch in the firmware in config.h to CH_FLIP. Here is a pic of a Devo screen showing a level/acro switch set up on Ch 6 (thanks to czajunia on rcgroups). The HOLD1 switch has been selected as the source in the Devo, and the curve is set to min/max, so the radio output is -100 or +100 depending on the position of the HOLD1 toggle switch. For Devo Ch 6, you would set the level/acro switch in the firmware in config.h to CH_FLIP.
  
-{{http://static.rcgroups.net/forums/attachments/5/5/3/9/1/4/a8629027-68-20160123_082743.jpg?nolink&400x199}}+{{http://static.rcgroups.net/forums/attachments/5/5/3/9/1/4/a8629027-68-20160123_082743.jpg?nolink&400x199|static.rcgroups.net_forums_attachments_5_5_3_9_1_4_a8629027-68-20160123_082743.jpg}} 
 + 
 +<font 16px/inherit;;inherit;;inherit>**Rates:**</font> 
 + 
 +For Devo or a multipro module, high rates is selected in config.h in the firmware, and then the low rate is set in your tx, to whatever value or values you prefer. See below for an alternate method 
 + 
 +<code> 
 +// rates / expert mode 
 +#define RATES CH_EXPERT 
 +</code> 
 + 
 +The actual rate of the "high" or "expert" rates is selected here, in this case (the default values are shown), we have 180 x 2 = 360 degrees per second for the high rate. The firmware will accept up to 2000 degrees per second I believe, if you want faster rates, you can increase either the 180.0f value or the multiplier 2.0f. 
 + 
 +<code> 
 +// rate in deg/sec 
 +// for low rates ( acro mode) 
 +#define MAX_RATE 180.0f 
 +#define MAX_RATEYAW 180.0f 
 + 
 +// multiplier for high rates 
 +// devo/module uses high rates only 
 +#define HIRATEMULTI 2.0f 
 +#define HIRATEMULTIYAW 2.0f 
 +</code> 
 + 
 +There is an **alternate method** to set rates on the quad using a radio channel, any of CH5 to CH10, In the code above, there is a low rate setting and a multiplier for high rates. The high rate can be selected with a radio channel in config.h as shown in the code below, the example uses CH5 to activate high rates. Thus by adjusting the values for MAX_RATE and HIRATEMULTI the low and high rates can be set to your preference. MAX_RATEYAW and HIRATEMULTIYAW work on the yaw axis only. STM Silverware (H8 blue, CG023, BWHOOP) does it the opposite way: You set the max rates in config.h and use a multi smaller than 1 to turn them down while low rates are selected. 
 +<code> 
 +// rates / expert mode 
 +#define RATES DEVO_CHAN_5 
 +</code>
  
  
basic_devo_multipro.1475972034.txt.gz · Last modified: 2016/10/09 02:13 by ian446