MobilityReadingGroup

π-calculus, Session Types research at Imperial College

Multiparty Motion Coordination: From Choreographies to Robotics Programs
Rupak MAJUMDAR, Nobuko YOSHIDA, Damien ZUFFEREY
OOPSLA 2020: Conference on Object-Oriented Programming Systems, Languages and Applications (OOPSLA 2020). p. 134:1 - 134:30

We present a programming model and typing discipline for complex multi-robot coordination programming. Our model encompasses both synchronisation through message passing and continuous-time dynamic motion primitives in physical space. We specify continuous-time motion primitives in an assume-guarantee logic that ensures compatibility of motion primitives as well as collision freedom. We specify global behaviour of programs in a choreographic type system that extends multiparty session types with jointly executed motion primitives, predicated refinements, as well as a separating conjunction that allows reasoning aboutsubsets of interacting robots. We describe a notion of well-formedness for global types that ensures motion and communication can be correctly synchronised and provide algorithms for checking well-formedness, projecting a type, and local type checking. A well-typed program is communication safe, motion compatible, and collision free. Our type system provides a compositional approach to ensuring these properties.

We have implemented our model on top of the ROS framework. This allows us to program multi-robot coordination scenarios on top of commercial and custom robotics hardware platforms. We show through case studies that we can model and statically verify quite complex manoeuvres involving multiple manipulators and mobile robots—such examples are beyond the scope of previous approaches

@inproceedings{MYZ2020,
  author = {Rupak Majumdar and Nobuko Yoshida and Damien Zufferey},
  title = {{Multiparty Motion Coordination: From Choreographies to Robotics Programs}},
  booktitle = {OOPSLA 2020: Conference on Object-Oriented Programming Systems, Languages and Applications},
  series = {PACMPL},
  volume = {4},
  issue = {OOPSLA},
  pages = {134:1--134:30},
  publisher = {ACM},
  year = 2020
}
@inproceedings{MYZ2020,
  author = {Rupak Majumdar and Nobuko Yoshida and Damien Zufferey},
  title = {{Multiparty Motion Coordination: From Choreographies to Robotics Programs}},
  booktitle = {OOPSLA 2020: Conference on Object-Oriented Programming Systems, Languages and Applications},
  series = {PACMPL},
  volume = {4},
  issue = {OOPSLA},
  pages = {134:1--134:30},
  publisher = {ACM},
  doi = "10.1145/3428202",
  year = 2020
}