Jump to content

Recommended Posts

Geschrieben

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

Geschrieben

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?

Geschrieben

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.

Gast
Reply to this topic...

×   Du hast formatierten Text eingefügt.   Formatierung jetzt entfernen

  Only 75 emoji are allowed.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Clear editor

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

×
×
  • Neu erstellen...