-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need to discuss communication specs (Rasps <-> Robot) #1
Comments
Since the cup WiFi environment would (will certainly...) be overcrowded and for performance's matters, I think we should use two UDP/IP multicast channels:
I chose to differentiate the two channels on their IP instead of their UDP port so the packets are discarded earlier in the network stack of each systems on the network. On the robots-to-bigbrother channel, commands should be:
On the bigbrother-to-robots channel, messages should be either:
Multicast use-case example in Python: http://stackoverflow.com/questions/603852/multicast-in-python Any ideas/thoughts? |
Let's start with something simple: There is no need for a "game ends" message. BigBrother can shutdown itself properly after about 100 seconds. |
During a game, BigBrother can send messages like: |
Messages will be sent in binary. When a robot is detected, integers will also be sent in binary (as signed short, 2 bytes) |
The robot should be able to send "match begins" / how many robots are on the table / "match ends" to the Rasps.
The robot can be a client OR a server of BigBrother => to discuss
The robot may want raw information from Cameras (pixel-level), or high-level information (x,y on the table).
BigBrother could implement an HTTP server, cOAP...
Etc.
The text was updated successfully, but these errors were encountered: