ConCodeIt! A Comparison of Concurrency Interfaces in Block-Based Visual Robot Programming

M. J.-Y. Chung, M. Nakura, S. H. Neti, A. Lu, E. Hummel, and M. Cakmak, “ConCodeIt! A Comparison of Concurrency Interfaces in Block-Based Visual Robot Programming,” 2020.

Abstract

Concurrency makes robot programming challenging even for professional programmers, yet it is essential for rich, interactive social robot behaviors. Visual programming aims to lower the barrier for robot programming but does not support rich concurrent behavior for meaningful robotics applications. In this paper, we explore extensions to block-based visual languages to enable programming of concurrent behavior with (1) asynchronous procedure calls, which encourage imperative programming, (2) callbacks, which encourage event-driven programming, and (3) promise, which also encourages imperative programming by providing event synchronization utilities. We compare these approaches through a systematic analysis of social robot programs with representative concurrency patterns, as well as a user study (N=23) in which participants authored such programs. Our work identifies characteristic differences between these approaches and demonstrates that the promise-based concurrency interface enables more concise programs with fewer errors.

BibTeX Entry

@inproceedings{chung2020concodeit,
  title = {ConCodeIt! A Comparison of Concurrency Interfaces in Block-Based Visual Robot Programming},
  author = {Chung, Michael Jae-Yoon and Nakura, Mino and Neti, Sai Harshita and Lu, Anthony and Hummel, Elana and Cakmak, Maya},
  year = {2020},
  booktitle = {IEEE International Symposium on Robot and Human Interactive Communication (RO-MAN)},
  type = {conference},
  video = {https://youtu.be/wnGNpzsvaK0}
}