MetroMan19 / nxt-python

Automatically exported from code.google.com/p/nxt-python
0 stars 0 forks source link

Bluetooth 10x slower than USB #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After performing some tests I noticed that the loop time from data requested to 
data received for a sensor with USB is ~10-20ms but with bluetooth it is 
~100-150ms . This doesn't seem correct. Bluetooth can transmit and receive data 
much faster than this.  

Original issue reported on code.google.com by meldu...@gmail.com on 20 Jul 2010 at 6:35

GoogleCodeExporter commented 9 years ago
Bluetooth is wireless and has much higher latency. This is not something that 
we can fix, sorry...

Original comment by marcus@wanners.net on 20 Jul 2010 at 9:16

GoogleCodeExporter commented 9 years ago
To be precise: Bluetooth CAN be faster, indeed, but in this case, due to the 
Bluetooth hardware on the NXT side, you won't see polling frequencies higher 
than 15 to 18 Hz, while with USB, you can get as fast as about 350 Hz.

Original comment by linus.at...@gmx.de on 23 Jul 2010 at 2:17

GoogleCodeExporter commented 9 years ago

Original comment by marcus@wanners.net on 20 Aug 2010 at 2:00