MobileCopilot: A Domain-Specific Language Framework for Agentic Mobile Robot Design
This paper presents MobileDSL, a unified domain-specific language for mobile robot development that integrates robot structure, environment, behavior, and evaluation into a single compilation process. The authors also introduce MobileCopilot, an agentic framework that leverages MobileDSL to automate the retrieval of components, program writing, and design refinement based on compiler feedback. On a benchmark of 50 mobile robot design tasks, this workflow increases the proportion of systems completing their programmed behavior in simulation by 42-50 percentage points compared to direct authoring of ROS/Gazebo files, while reducing API costs by approximately 33-61% and requiring less code and generation time.
arXiv:2611.38523v1 Announce Type: new Abstract: Mobile robot development relies on separate descriptions of robot structure, environment, behavior, and evaluation, leaving developers to maintain consistency across them. We present MobileDSL, a unified domain-specific language for mobile robot development that makes assembly and system integration part of compilation. The compiler assembles the robot and generates its controller and navigation settings from the same program, using shared references to check dependencies across the system. Design changes are reflected in the generated robot and its settings rather than repaired file by file. For efficient automated development, we introduce MobileCopilot, an agentic framework that uses MobileDSL and its compiler as tools. Given a user request, a coding agent retrieves components, writes a program, and refines the design using compiler feedback. On a benchmark of 50 mobile robot design tasks, this workflow increases the proportion of systems that complete their programmed behavior in simulation by 42-50 percentage points over direct authoring of ROS/Gazebo files, while reducing API cost by approximately 33-61% and requiring less code and generation time.