Jump to content

Recommended Posts

Posted

Hey, I am building a wheeled driven robot and use WIFI extension to communicate with my laptop, in my callback function I write the velocity of two wheels into files, when USB was use for communication, this callback function works well but when I change it to WIFI extension this program seems didnot get into the callback function at all and there was nothing written in files.

Dose anybody know the reason?

413670577_17@APA_K17Q89A@6.png.764550f379eb54c2076af9b04b710b96.png

Posted

What's the SamplingPeriod?

 

One different between WIFI and USB is the throughput. Typically, WIFI has less throughput than USB. If your SamplingPeriod is very small then the Bricklets might try to send more callbacks then the WIFI connection can handle.

 

I assume you don't have USB connected to the stack while you're using WIFI, is this correct?

Posted

Make a "ping" to your stack connected via WIFI: you might get something below 10ms, but on average I would not rely on this.

 

My experience is that I can transport about 50 data packages per second via WIFI (which makes 20ms per package) and that other WIFI networks in the surroundings have a big impact on the performance.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...