A combination of a C# server and an arduino program that allows you to control a bunch of Hull Pixelbots at once.
Currently a work in progress - it should be amazing once it's done!
PixelHub-Client | ||
PixelHub-Client-Test | ||
PixelHub-Server | ||
.gitignore | ||
LICENSE | ||
PixelHub Protocol.md | ||
README.md |
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)
- The server sends a command ot the robot
- The robot sends back to say whether it will/can execute the command
- The robot executes the command
- 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