Modelling the Turtle Python library in CSP

07/20/2022
by   Dara MacConville, et al.
0

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.

READ FULL TEXT
research
09/08/2017

A Rational Agent Controlling an Autonomous Vehicle: Implementation and Formal Verification

The development and deployment of Autonomous Vehicles (AVs) on our roads...
research
07/14/2023

Taming the Panda with Python: A Powerful Duo for Seamless Robotics Programming and Integration

Franka Emika robots have gained significant popularity in research and e...
research
12/31/2010

Use of Python and Phoenix-M Interface in Robotics

In this paper I will show how to use Python programming with a computer ...
research
09/14/2022

Timor Python: A Toolbox for Industrial Modular Robotics

Development of controllers, novel robot kinematics, and learning-based a...
research
04/21/2020

pomdp_py: A Framework to Build and Solve POMDP Problems

In this paper, we present pomdp_py, a general purpose Partially Observab...
research
05/27/2019

DockerizeMe: Automatic Inference of Environment Dependencies for Python Code Snippets

Platforms like Stack Overflow and GitHub's gist system promote the shari...
research
01/25/2023

HoLA Robots: Mitigating Plan-Deviation Attacks in Multi-Robot Systems with Co-Observations and Horizon-Limiting Announcements

Emerging multi-robot systems rely on cooperation between humans and robo...

Please sign up or login with your details

Forgot password? Click here to reset