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

PHYSFRAME:机器人系统的类型检查物理参考框架

PHYSFRAME: Type Checking Physical Frames of Reference for Robotic Systems

Purdue University(普渡大学);University of Virginia(弗吉尼亚大学)

Sayali Kate, Michael Chinn, Hongjun Choi, Xiangyu Zhang, Sebastian Elbaum

摘要:

机器人系统在操作过程中不断测量自身的运动和外部世界。这样的测量是相对于某个参考系的,即,一个坐标系。一个不平凡的机器人系统有大量不同的帧,数据必须从一个帧来回转换到另一个帧。开发人员有责任获得正确的翻译。然而,这是非常具有挑战性和容易出错的,这可以从开发人员论坛上大量的与框架使用相关的问题和问题中得到证明。由于任何状态变量都可以与某个框架相关联,因此参考框架可以自然地建模为变量类型。因此,我们开发了一个新的类型系统,可以自动推断变量的框架类型,并反过来检测任何类型的不一致和违反框架约定。对一组180个公开可用的ROS项目的评估表明,我们的系统可以检测到190个不一致之处,其中有154个真阳性。我们向开发人员报告了52个,到目前为止收到了18个回复,其中15个已修复/确认。我们的技术还发现了45项违反惯例的行为。

英文摘要:

A robotic system continuously measures its own motions and the external world during operation. Such measurements are with respect to some frame of reference, i.e., a coordinate system. A nontrivial robotic system has a large number of different frames and data have to be translated back-and-forth from a frame to another. The onus is on the developers to get such translation right. However, this is very challenging and error-prone, evidenced by the large number of questions and issues related to frame uses on developers' forum. Since any state variable can be associated with some frame, reference frames can be naturally modeled as variable types. We hence develop a novel type system that can automatically infer variables' frame types and in turn detect any type inconsistencies and violations of frame conventions. The evaluation on a set of 180 publicly available ROS projects shows that our system can detect 190 inconsistencies with 154 true positives. We reported 52 to developers and received 18 responses so far, with 15 fixed/acknowledged. Our technique also finds 45 violations of common practices.

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

↑