Modelling the Turtle Python library in CSP
Conference paper
Authors | MacConville, D., Farrell, M., Matt Luckcuck and Monahan, R. |
---|---|
Type | Conference paper |
Abstract | Software verification is an important tool in establishing the reliability of critical systems. One potential area of application is in the field of robotics, as robots take on more tasks in both day-to-day areas and highly specialised domains. Robots are usually given a plan to follow, if there are errors in this plan the robot will not perform reliably. The capability to check plans for errors in advance could prevent this. Python is a popular programming language in the robotics domain, through the use of the Robot Operating System (ROS) and various other libraries. Python's Turtle package provides a mobile agent, which we formally model here using Communicating Sequential Processes (CSP). Our interactive toolchain CSP2Turtle with CSP model and Python components, enables Turtle plans to be verified in CSP before being executed in Python. This means that certain classes of errors can be avoided, and provides a starting point for more detailed verification of Turtle programs and more complex robotic systems. We illustrate our approach with examples of robot navigation and obstacle avoidance in a 2D grid-world. |
Keywords | Software verification; Robotics ; Python components |
Year | 2022 |
Conference | Second Workshop on Agents and Robots for reliable Engineered Autonomy |
Journal | Electronic Proceedings in Theoretical Computer Science |
Publisher | Open Publishing Association, Australia |
ISSN | 2075-2180 |
Digital Object Identifier (DOI) | https://doi.org/10.4204/eptcs.362.4 |
Web address (URL) | http://dx.doi.org/10.4204/eptcs.362.4 |
Output status | Submitted |
Publication dates | 20 Jul 2022 |
Publication process dates | |
Deposited | 31 Jan 2023 |
https://repository.derby.ac.uk/item/9w93y/modelling-the-turtle-python-library-in-csp
25
total views0
total downloads1
views this month0
downloads this month