Added: 2 years ago
From: felfrei
Views: 12,587
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (7)

Sign In or Sign Up now to post a comment!
  • Why does it pause and say "sending" when the ball transfers? It seems like you have real time communications because score and ending happen instantaneously. Yet sending the ball has some delay.

  • @kincaid05 To send Bluetooth messages, I use a special "protocol" to confirm each packet. Sending the ball takes 3 data packages (1 for the position and 2 for two-dimensional speed), and all packages need to be confirmed for the next transmission to start. So, the NXTs need to send 7 packages for the ball to appear on the other NXT.

    Score updates only need 1 data package, so there is no need to wait for a confirmation, which is the same for the "end"-package.

  • @Coolie747: What do you mean?

  • plz

  • What is the script for nxt c++ ?

  • @zexbomb69 Are you talking about the RobotC-Sourcecode? I did not publish it.

  • Cool! Check out my pong,

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more