ROS2 RobotFramework

A simple Robot Framework library for testing ROS2 applications.

What is ROS2 RobotFramework?

ROS2 RobotFramework is a Robot Framework library that makes it easy to test ROS2 applications. It provides simple keywords for common ROS2 operations like:

  • Testing topics and services

  • Checking nodes and parameters

  • Running navigation tests

  • Launching ROS2 processes

Quick Start

  1. Install the library (see Installation)

  2. Write your first test (see Quick Start Guide)

  3. Run examples (see Examples)

Simple Example

*** Settings ***
Library    ROS2ClientLibrary

*** Test Cases ***
Test ROS2 System
    # Check if a topic exists
    ${exists}=    Topic Exists    /chatter
    Should Be True    ${exists}

    # List all topics
    ${topics}=    List Topics
    Log    Available topics: ${topics}

GitHub Repository

The source code and latest updates are available on GitHub:

https://github.com/bekirbostanci/ros2_robotframework

Documentation