fujitatomoya/ros2ai

ros2ai is a next-generation ROS 2 command line interface extension with LLMs

What it solves

It simplifies the interaction with the Robot Operating System 2 (ROS 2) command line interface (CLI). It removes the need for users—especially beginners and students—to memorize complex ros2cli commands or spend time browsing documentation to find the correct syntax for common tasks.

How it works

ros2ai acts as an extension to the ROS 2 CLI. It integrates with Large Language Models (LLMs) via the OpenAI Python API, supporting both cloud-based models (OpenAI) and local models (via Ollama). Users can interact with the system through two primary modes:

  • Query: Users ask questions in plain language, and the AI provides the corresponding ROS 2 commands and explanations.
  • Exec: The AI interprets a natural language request and automatically executes the appropriate ROS 2 command on the system.

Who it’s for

  • ROS 2 developers and beginners who want to speed up their workflow.
  • Students learning ROS 2 who may find the CLI syntax daunting.
  • Users who prefer interacting with their robotics software via natural language or multiple different languages.

Highlights

  • Dual Backend Support: Compatible with OpenAI for cloud intelligence and Ollama for local LLM execution.
  • Command Execution: Can directly execute ROS 2 commands based on natural language prompts.
  • Multilingual Support: Capable of answering queries and providing guidance in multiple languages.
  • Broad Distribution Support: Compatible with various ROS 2 distributions, including Humble, Jazzy, Kilted, and Rolling.

Related

  • Project
  • Project
  • Project
  • Project
  • Project