Cocobo: Exploring Large Language Models as the Engine for End-User Robot Programming
Yate Ge, Yi Dai, Run Shan, Kechun Li, Yuanda Hu, Xiaohua Sun
TL;DR
Cocobo addresses the challenge of enabling non-programmers to customize service robots by integrating large language models with a dual NL-conversational and flowchart-based interface. It introduces an LLM-driven pipeline that translates natural language intents into executable robot programs, with mechanisms for generating explanations and converting between code and flowcharts, including a MagicDebug debugging mode. In a user study with 16 participants, Cocobo demonstrated good usability and a natural conversational experience, though it revealed issues with output stability and content length that affect responsiveness. The work shows promise for practical end-user robot programming and highlights avenues for broader API support, real-world testing, and improved prompt design to better handle non-expert users.
Abstract
End-user development allows everyday users to tailor service robots or applications to their needs. One user-friendly approach is natural language programming. However, it encounters challenges such as an expansive user expression space and limited support for debugging and editing, which restrict its application in end-user programming. The emergence of large language models (LLMs) offers promising avenues for the translation and interpretation between human language instructions and the code executed by robots, but their application in end-user programming systems requires further study. We introduce Cocobo, a natural language programming system with interactive diagrams powered by LLMs. Cocobo employs LLMs to understand users' authoring intentions, generate and explain robot programs, and facilitate the conversion between executable code and flowchart representations. Our user study shows that Cocobo has a low learning curve, enabling even users with zero coding experience to customize robot programs successfully.
