Depending on how you wrote the code, your control algorithm might be
sensitive to latency (much higher on BT, ~20ms vs ~1ms) and/or jitter (much
higher on BT). As for the cycle period, it is up to you to decide it, it
shouldn't depend on the connection type.

If you want to change the behavior depending on either BT or USB, here's an
example:
https://github.com/ytai/ioio/blob/master/software/applications/ShoeBot/src/main/java/ioio/applications/shoebot/ShoebotActivity.java#L359

On Wed, Dec 2, 2015 at 2:19 AM, Mohsen Pashna <[email protected]> wrote:

> Hello IOIO nerds
>
> I am using IOIO to connect my two-wheel-mobile robot to the android device
> (lovely NX5). I have few robots that swarming together. I tuned one of my
> robots which was connected via BT, and it worked fine. However, for other
> robots I connected (had to) them via USB, and it turns out that the
> previous control parameters are not suit for USB connection. Perhaps it is
> due to the cycle period difference, I am not sure.
>
> By the way, is there any way that I could understand the connection type
> in the code to decide which type of parameters I need to apply?
>
> Please share with me if you have or had related experiences.
>
> Many Thanks
>
> Cheers,
>
> Mohsen
>
> --
> 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/d/optout.
>

-- 
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/d/optout.

Reply via email to