Hello Guest it is April 24, 2024, 01:35:41 PM

Author Topic: SetDro(0 ,GetDro(0)/2) in BrainControl  (Read 16363 times)

0 Members and 1 Guest are viewing this topic.

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: SetDro(0 ,GetDro(0)/2) in BrainControl
« Reply #10 on: January 30, 2008, 06:21:27 PM »
that wont work since you need to start at zero, also as your first equation keeps adding up, only the value of 1, will give you a half value after that your dro value is climbing to no change at 2, and it continues to climb in multimple of the original value.......

scott
fun times
Re: SetDro(0 ,GetDro(0)/2) in BrainControl
« Reply #11 on: January 30, 2008, 06:45:39 PM »
sry - i don't understand what you mean

can you give a sample ?

Frank

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: SetDro(0 ,GetDro(0)/2) in BrainControl
« Reply #12 on: January 30, 2008, 06:58:41 PM »
his original post, as I understand it, he wanted a singlular input that each time you push it, (and it starts at zero value).
Then when he pushes the button the first time, the X axis current value is divided by 2 and then reposted into the X position dro.
When he incremnts by pushig the button again the Y axis value is cut in half and then reposted to the Y dro.
next press (value is now 3), does the Z, at value higher it then resets everyting back to zero w3ith standard "true" axzis positions.
Since theser are temporary, I dont understand why scaling wont work for him since it would do exaclty that.

scott
fun times
Re: SetDro(0 ,GetDro(0)/2) in BrainControl
« Reply #13 on: January 30, 2008, 07:02:35 PM »
ah ok

i have taken his last words of the first post:
I only want to divide a Dro Value when some Input Signal comes in.

and thats what the brain do

Frank