State Machine Model of the Operation Control of a Differential-Drive Mobile Robot

Read the full article See related articles

Discuss this preprint

Start a discussion What are Sciety discussions?

Listed in

This article is not in any list yet, why not save it to one of your lists.
Log in to save this article

Abstract

Mobile robot controllers are often complex due to their multi-layered architecture and the numerous inputs and outputs handled at each layer. This work models the lowest level of a differential-drive mobile robot's controller stack using a set of state machines, demonstrating how this approach streamlines control system development. This level handles robot locomotion and sensor data acquisition. The resulting state machines are easily implemented in any procedural language, including C++ and Lua. We use C++ to program controllers for actual Arduino-based robots and Lua to program models of such robots in the CoppeliaSim simulator. Both real and virtual robots have been used in an Embedded Systems course at our university since 2011, with continuous improvements.

Article activity feed