Two Motor designs with a Reactive design to Lego Mindstorm EV3, based sensor-actions framework using RAVATTT.
Description
A reactive framework for event programming, introducing the formal dog-ears farmework and RAVATTT based representation of IaC as a Taskoid is presented for the use of a BrickPi or Lego EV3 for an application of two motor propulsion control with sensor integrations, an application being Segway SMP 2.0 controls with the BrickPi.
Keywords: Lego EV3, BrickPi, Segway, Taskoid, RAVATTT, Dog-Ears, IaC
What:
The dog-ear framework,(Bheemaiah, n.d.) allows for the use of Alexa integration and AWS Lambdas, AWS State machines and an RPA framework , using RAVATTT.
An alternative taskoid, for a cloud-watch template, using Alexa Gadget API and CLI encapsulation to generate a template is presented as a taskoid.
How:
A Lego EV3 has the following Sensor Framework, Touch Sensor, IR Sensor, Ultrasound Sensor and a Color Sensor, which can be integrated using the ev3dev software.
We define sensor streams = [Touch, IR, Color, Gyro, Ultrasound] and actions = [waypoint, steps]
We define event streams from sensor streams, and actions on events.
We also define iterators on streams , both sensor and event streams.
We define filters on streams, both event and sensor streams.
For a C-UI we define a taskoid for the creation of state machines for Alexa Controls using the Alexa Gadget API and CLI tools.
Why:
RAVATTT is a framework for multi sensor fusion and event programming for automation using RPA and state machines. It is illustrated with the EV3 Brick from Lego.
The taskoid framework for the use of Alexa Gadget API and AWS CLI is also described with examples.