This repository has been archived on 2019-06-21. You can view files and clone it, but cannot push or open issues or pull requests.
PixelHub/README.md

2.3 KiB

PixelHub

A combination of a C# server and an arduino program that allows the control of a Hull Pixelbot.

PixelHub Cilent protocol

The PixelHub client protocol is a (mostly) text-based protocol that the server uses to give the robot instructions. One instruction or message is passed per line (and line endings are '\n'). The message flow works something like this:

(todo: diagram here :D)

  1. The server sends a command ot the robot
  2. The robot sends back to say whether it will/can execute the command
  3. The robot executes the command
  4. The robot messages back to say it's finished executing a given command.

Split-brain robots

If you have a split brain robot, the PixelHub client, while it doesn't support it yet, can be adjusted to add support. Currently, all you need to do is swap out the PixelHubController .cpp file with one that can talk to your other microcontroller that actually controls the wheels.

Credits

  • Debugging:
    • Andrew C, Karen van Eck, Mike C
  • Soldering:
    • Brian N

Tcp Client

For Multicast networkinterface blog post

Bits and Bobs