Begin work on client side command processor & wheel controller

This commit is contained in:
Starbeamrainbowlabs 2016-11-20 21:54:09 +00:00
parent e961c558ac
commit 7f8cc9420d
5 changed files with 40 additions and 2 deletions

View File

@ -142,3 +142,9 @@ bool PixelBot::Tick()
return true; return true;
} }
bool PixelBot:processCommand(String command)
{
return false;
}

View File

@ -58,5 +58,7 @@ private:
// The TCP client to use as the PixelHub server transport connection. // The TCP client to use as the PixelHub server transport connection.
WiFiClient tcpClient = WiFiClient(); WiFiClient tcpClient = WiFiClient();
bool processCommand(String command);
}; };

View File

@ -0,0 +1,12 @@
#include "PixelBotController.h"
PixelBotController::PixelBotController()
{
}
PixelBotController::~PixelBotController()
{
}

View File

@ -0,0 +1,18 @@
#pragma once
/// <summary>
/// Connects to a PixelHub server, receives commands, and acts upon them.
/// </summmary>
class PixelBotController
{
public:
PixelBotController();
~PixelBotController();
private:
}

View File

@ -8,8 +8,8 @@
#include "PixelBot.h" #include "PixelBot.h"
char ssid[] = "ssid"; char ssid[] = "ZimWeaver";
char password[] = "password"; char password[] = "jungl3OfC0nfu$*on";
PixelBot pixelBot; PixelBot pixelBot;