RPL:一种基于反应式Agent的机器人编程语言  被引量:1

RPL:A Robot Programming Language Based on Reactive Agent

在线阅读下载全文

作  者:田昌海[1] 杨硕[1] 陈寅[1] 毛新军[1] 

机构地区:[1]国防科技大学计算机学院,长沙410073

出  处:《计算机科学》2015年第3期13-18,共6页Computer Science

基  金:国家自然科学基金(61379051)资助

摘  要:开放环境下的机器人具有环境敏感性、行为自主性和并发性、反应实时性等特点,这对支撑这类机器人的控制软件及其编程语言提出了新的要求,包括支持对环境进行显式表示,支持自主和并发的行为,需要对行为间在时间、空间、物理上的关系进行规约等等。面向Agent的编程语言将软件系统的基本执行单元视为自主的软件Agent,它为机器人控制软件的构造提供了新的方法和思路。针对开放环境下机器人特点对其编程语言的要求,提出了基于反应式Agent的编程模型RECA和编程语言RPL。RECA将单个机器人的软件系统视为一个反应式Agent,它包括SensorEvent、EventRule和ScenarioBehaviour 3个组成部分,其中SensorEvent是对机器人所处环境信息变化的一种封装;ScenarioBehaviour是对机器人的不同行为进行的规约;EventRule定义了机器人环境输入到行为输出的动态绑定关系。RPL提供了一系列的机制来支持机器人控制软件的编程,包括事件机制、多线程机制、优先级描述、行为动态绑定。最后介绍了RPL程序开发和运行支撑环境的技术框架,并基于NAO机器人分析了机器人作为老人生活助理的案例,验证了该编程模型、语言和运行支撑环境的有效性。Robots situated in open environment are expected to be context-aware and autonomous,to support concurrent behaviours,and to react to external stimuli in a timely manner.To program such robots,a robot programming language is required to explicitly represent environmental factors,support decision-making and concurrency,specify temporal,special and physical relations among robot behaviours,and prioritize concurrent robot behaviours to avoid collision.Agent-oriented programming(AOP)provides a new solution to robot programming by taking software units as autonomous agents.Based on the requirements for robot programminges language,agent-oriented programming model—RECA and programming language—RPL based on reactive agent were proposed.RECA programming model which takes robot software as a reactive agent consists of three elements.SensorEvent shows environmental changes;ScenarioBehaviour are the different behaviour specifications for robots,and EventRule defines the dynamic mapping relations from environmental inputs to behavioral outputs.RPL was designed to meet the needs of robot programming,by providing various mechanisms supporting event-based programming,multi-thread programming,prioritization of robot behaviours,and dynamic binding of robot behaviours.We designed and implemented a programming and runtime environment for the RPL,and demonstrated the expressiveness of RPL and the effectiveness of its runtime environment through a case study of elder assistant robot.

关 键 词:机器人 控制软件 面向Agent编程 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象