Hi Ytai,

Regarding the self-balancing ShoeBot, why does the sleep time is so 
different between the RemoteLooper::loop() and the BalancerLooper::loop() 

i.e.: Thread.sleep(100) vs Thread.sleep(2)

Is 100 the minimum recommended if the Android device connects to the IOIO 
board via Bluetooth?

Also, what is the purpose of multiplying the errorInt_ by 0.999?  What is 
that 0.999 factor for?

errorInt_ = (float) ((error_ * dt * 1e-9) + 0.999 * errorInt_);

Thanks, and best regards!

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to