arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.09706cs.RO
收藏

在CSP中对Turtle Python库建模

Modelling the Turtle Python library in CSP

Maynooth University(梅努斯大学)

Dara MacConville, Marie Farrell, Matt Luckcuck, Rosemary Monahan

摘要:

软件验证是建立关键系统可靠性的重要工具。一个潜在的应用领域是机器人领域,因为机器人在日常领域和高度专业化的领域都承担了更多的任务。机器人通常有一个计划要遵循,如果这个计划中有错误,机器人将无法可靠地执行。提前检查计划错误的能力可以防止这种情况。Python是机器人领域中流行的程序设计语言,通过使用机器人操作系统(ROS)和各种其他库。Python的Turtle包提供了一个移动代理,我们在这里使用通信顺序进程(CSP)正式建模。我们的交互式工具链CSP2Turtle具有CSP模型和Python组件,使Turtle计划能够在Python中执行之前在CSP中进行验证。这意味着可以避免某些类别的错误,并为更详细的验证Turtle程序和更复杂的机器人系统提供了一个起点。我们说明我们的方法与机器人导航和避障的例子在一个二维网格世界。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑