I'm about to start a fun project (personal play) using Node-RED and wanted to run it past the community in case others would like to play too and to find out if there is existing collateral in the area.
Like most electronic hobbyists, I want to build me a simple wheeled chassis robot using DC motors. My plan is to have it controlled via a Raspberry PI. One of the things I am thinking about is the ability to have it perform a set of instructions. For example, move forward for 5 seconds, turn left 90 degrees, move forward for 10 seconds etc etc etc.
As I got to thinking about how I might provide those instructions, it struck me that maybe Node-RED would be an ideal solution. I am imagining a set of robot control nodes wired together with each one comprising a building block of activity ... forward, turn, delay etc etc. These could either be specific new nodes or composite subflows using existing nodes. I am planning on using MQTT as the message protocol between my PC (running Node-RED) and the Pi controlling the motors. The MQTT messages will contain commands such as forward(wheel), backward(wheel), speed(wheel) etc etc...
By wiring nodes together visually, I am imagining a solution to move my robot chassis around.
Any thoughts on this notion? Is Node-RED a good candidate for such a task? Is there existent "Robot control" open source software available?