Converting deVention values to deviation values

More
15 Jan 2014 06:40 - 17 Feb 2014 15:29 #18523 by Tom Z
Converting deVention values to Deviation values

When you make models for the Deviation Firmware you need to convert some values that the manual lists to use so I made this list.


If a manual uses 0-100 values convert those to -100 to +100 values: value X 2 -100

Example: Manual says to set a value to 70% then 70x2-100 = 40% deviation value.

Example: Throttle Curve - Manual says to set these values: 0% 42% 65% 78% 80%

You would use these values for the deviation values: -100% -16% 30% 56% 60%

This also applies if you want to make a V Shaped Throttle Curve.

Example: Manual says to set the values to 100% 90% 80% 90% 100%

You would use these values for the deviation values: 100% 80% 60% 80% 100%

Example: Gyro Gain - Manual says to set this value: 82%

You would use this value for the deviation value: 64%

Example: Gyro Gain - Manual says to set this values:

GYRO:

RATE SW-GYRO
0: 100.0%
1: 0.0%


You would use these values for the deviation values:

GYRO:

RATE SW-GYRO
0: +100.0%
1: -100.0%



If a manual uses -100 to +100 values then no need to convert those values. Input them as they are.

Example: Pitch Curve - Manual says to set these values: -35, -25, -15, 0, 33, 66, 100

You would use those values also for the deviation values: -35, -25, -15, 0, 33, 66, 100


Example: Throttle Curve - Manual says to set these values: -100, -66, -33, 0, 33, 66, 100

You would use those values also for the deviation values: -100, -66, -33, 0, 33, 66, 100



For a Linear Curve you do not need to convert the values.

Example: Pitch Curve for Stunt Mode - Manual says to set these linear values: 0% 25% 50% 75% 100%

You would use those values also for the deviation values: 0% 25% 50% 75% 100%

Example: Throttle Curve for Normal Mode - Manual says to set these linear values: 0% 25% 50% 75% 100%

You would use those values also for the deviation values: 0% 25% 50% 75% 100%



Dual Rate and Expo you do not need to convert the values.

Example: Dual Rate - Manual says to set this value: 70%

Then you would use that value also for the deviation value: 70%


Example: Expo - Manual says to set this value: 30%

Then you would use that value also for the deviation value: 30%



More information coming soon...
If you have something you would like to add to this, post it in this thread.
Last edit: 17 Feb 2014 15:29 by Tom Z.

Please Log in or Create an account to join the conversation.

  • rbe2012
  • rbe2012's Avatar
  • Offline
  • So much to do, so little time...
More
15 Jan 2014 07:18 #18528 by rbe2012
Replied by rbe2012 on topic Factory Firmware Values to Deviation Values

Tom Z wrote: Example 2: Manual says to set these values for a Throttle Curve: 0% 42% 65% 78% 80%

Then you would use these values for the deviation values: -100% -16% 30% 56% 60%

Please Log in or Create an account to join the conversation.

More
15 Jan 2014 07:26 - 15 Jan 2014 07:28 #18529 by RandMental
Replied by RandMental on topic Factory Firmware Values to Deviation Values
My easy way to do the conversion to Devo to Deviation in your head

Ex: Convert 80% setting of a 0-100% range to the deviation -100 to +100 range:
  • Start with the Devention full scale value, eg. 100%
  • Subtract the Devention setting from the full scale value: 100% - 80% = 20%
  • Multiply the result with 2: 20% x 2 = 40%
  • Subtract the answer from the Deviation full scale value: 100% - 40% = 60%

Hope this helps.
Last edit: 15 Jan 2014 07:28 by RandMental.

Please Log in or Create an account to join the conversation.

More
15 Jan 2014 07:36 #18530 by Tom Z

rbe2012 wrote:

Tom Z wrote: Example 2: Manual says to set these values for a Throttle Curve: 0% 42% 65% 78% 80%

Then you would use these values for the deviation values: -100% -16% 30% 56% 60%



Thanks. I did forgot to convert that one. I edited the post.

Please Log in or Create an account to join the conversation.

More
15 Jan 2014 07:52 #18531 by Tom Z
Thanks RandMental.

Please Log in or Create an account to join the conversation.

More
16 Jan 2014 22:40 #18572 by domcars0
Replied by domcars0 on topic Factory Firmware Values to Deviation Values

RandMental wrote: My easy way to do the conversion to Devo to Deviation in your head

Ex: Convert 80% setting of a 0-100% range to the deviation -100 to +100 range:

  • Start with the Devention full scale value, eg. 100%
  • Subtract the Devention setting from the full scale value: 100% - 80% = 20%
  • Multiply the result with 2: 20% x 2 = 40%
  • Subtract the answer from the Deviation full scale value: 100% - 40% = 60%

Hope this helps.


I have another method ;-)
Ex: Convert 80% setting of a 0-100% range to the deviation -100 to +100 range:
  • Substract 50% from the Devention setting: 80% - 50% = 30%
  • Multiply the result with 2: 30% x 2 = 60%

Ex2: Convert 30% setting of a 0-100% range to the deviation -100 to +100 range:
  • Substract 50% from the Devention setting: 30% - 50% = -20%
  • Multiply the result with 2: -20% x 2 = -40%

Devo 10 (+7e) owner. It's mine, please don't touch it with your big fingers :angry:

Please Log in or Create an account to join the conversation.

More
17 Jan 2014 23:47 #18609 by Tom Z
Thanks domcars0.

Please Log in or Create an account to join the conversation.

More
19 Jan 2014 13:57 - 20 Jan 2014 05:30 #18676 by Tom Z
Can somebody see if I have everything here correct or not for Dual Rate.


1. Scale -/+ with the defaults of -100/+100 on this option page are for Dual Rate.

Picture 1.





2. If I have Scale set to 100 (Picture 2) I will have 100% servo travel using the defaults of -100/+100 in Picture 1.

Picture 2.





3. If I have Scale set to 125 (Picture 3) I will have 125% servo travel using the defaults of - 100/+100 in Picture 1.

Picture 3.




4. If I want 150% servo travel what do I increase the values to in Picture 1
so that when I set the Scale in Picture 3 to 125% I will get 150% servo travel?



.
Attachments:
Last edit: 20 Jan 2014 05:30 by Tom Z.

Please Log in or Create an account to join the conversation.

More
19 Jan 2014 20:32 #18715 by FDR
Set the scale- and scale+ to 125...

Please Log in or Create an account to join the conversation.

More
20 Jan 2014 03:33 #18739 by vlad_vy
I think it will be 156.25%.

Please Log in or Create an account to join the conversation.

More
20 Jan 2014 05:20 #18750 by FDR
Yep, indeed, it is enough to set it to 120, but tha min/max would limit it to 150 anyway...

Please Log in or Create an account to join the conversation.

More
20 Jan 2014 05:35 #18755 by Tom Z
OK I assume my questions 2 and 3 are correct as nobody said they were not so that is good.

And the answer FDR posted was for question 4 I take it.

4. If I want 150% servo travel what do I increase the values to in Picture 1
so that when I set the Scale in Picture 3 to 125% I will get 150% servo travel?


Set the scale- and scale+ to 125...

Please Log in or Create an account to join the conversation.

More
20 Jan 2014 06:30 - 20 Jan 2014 06:31 #18759 by vlad_vy
In Picture1 set the Scale- and Scale+ to 120% and set the Scale in Picture 3 to 125%, and you will get 150% servo travel (1.20*1.25=1.50).

or

In Picture1 set the Scale- and Scale+ to 150% and set the Scale in Picture 3 to 100%, and you will get 150% servo travel (1.50*1.00=1.50).
Last edit: 20 Jan 2014 06:31 by vlad_vy.

Please Log in or Create an account to join the conversation.

More
20 Jan 2014 16:22 #18778 by Tom Z
Thanks!
I am making some more models to post here and need to set the DR over 100%.
I don't think I will need to go more that 125% max as the servos might bind but if I need to I know now how to do it.

Please Log in or Create an account to join the conversation.

More
24 Jan 2014 18:08 #19028 by Tom Z
I need to make these gyro values which use 0-100%.

GYRO:

RATE SW-GYRO
0: 100.0%
1: 0.0%

For the deviation values I would use:

0: +100.0%
1: 0.0% - Is this correct or would I use -100% instead of 0%?

Please Log in or Create an account to join the conversation.

More
24 Jan 2014 18:40 #19031 by linux-user
Replied by linux-user on topic Converting deVention values to deviation values
I think you should use -100%

Your gyro values are from min=0% to max=100%
Deviation uses values from min=-100% to max=+100%

Please Log in or Create an account to join the conversation.

More
25 Jan 2014 14:25 #19082 by Tom Z
Thanks. I was thinking "0%" would convert to "0%".
I added this as an example in the first post.

Please Log in or Create an account to join the conversation.

Time to create page: 0.112 seconds
Powered by Kunena Forum