PHYSFRAME: Type Checking Physical Frames of Reference for Robotic Systems
Sayali Kate, Michael Chinn, Hongjun Choi, Xiangyu Zhang, Sebastian, Elbaum

TL;DR
PHYSFRAME introduces a novel type system for robotic software that automatically infers and checks physical reference frames, reducing errors in frame translation and improving system reliability.
Contribution
It presents a new type checking approach for physical frames of reference in robotic systems, enabling automatic detection of inconsistencies and violations.
Findings
Detected 190 inconsistencies in ROS projects
Reported 52 issues, with 15 fixed or acknowledged
Found 45 violations of common frame practices
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
