Skip to content Accessibility statement
Home>York Robotics Laboratory>DARS2016

From Formalised State Machines to Implementations of Robotic Controllers

Authors: Wei Li, Alvaro Miyazawa, Pedro Ribeiro, Ana Cavalcanti, Jim Woodcock and Jon Timmis

This page contains supplementary material for the DARS 2016 conference.


Abstact: Controllers for autonomous robotic systems can be specified using state machines. However, these are typically developed in an ad hoc manner without formal semantics, which makes it difficult to analyse the controller. Simulations are often used during the development, but a rigorous connection between the designed controller and the implementation is often overlooked. This paper presents a state-machine based notation, RoboChart, together with a tool to automatically create code from the state machines, establishing a rigorous connection between specification and implementation. In RoboChart, a robot's controller is specified either graphically or using a textual description language. The controller code for simulation is automatically generated through a direct mapping from the specification. We demonstrate our approach using two case studies (self-organized aggregation and swarm taxis) in swarm robotics. The simulations are presented using two different simulators showing the general applicability of our approach.


A video showing the aggregation behaviour of 20 e-puck robots executing the automatically generated controller code in Enki simulator can be assessed here:

https://youtu.be/3wiHf6S2gXA

The aggregation controller modelled in RoboChart and the automatically generated C++ code are here: DARS 2016 Aggregation Controller (zip , 46kb)


A video showing the swarm taxis behaviour of 20 e-puck robots executing the automatically generated controller code in ARGoS simulator can be assessed here:

https://youtu.be/etD1s55M3t0

The swarm taxis controller modelled in RoboChart and the automatically generated C++ code are here: DARS 2016 SwarmTaxis Controller (zip , 74kb)

Contact us

Professor Andy Tyrrell

andy.tyrrell@york.ac.uk