Sample Applications

This section introduces sample ROS 2 applications developed for the Renesas RZ/V2H RDK platform, demonstrating various functionalities and use cases.

Prerequisites for Running Sample Applications

Before running any sample application, ensure that you have completed the following common setup steps:

  1. Set up the RZ/V2H RDK board as per RZ/V2H RDK board setup.

  2. Complete the Development Guide steps to set up the cross-compilation environment, including setting up the Docker container and VS Code workspace.

    Create and enter the container from the Docker image ghcr.io/renesas-rdk/rzv2h_ubuntu_xbuild:latest image.

    Run the setup script to create the Docker-based cross-compilation environment.

    wget https://github.com/renesas-rdk/ros2_demo_workspace/raw/refs/heads/main/common_utils/setup_rdk_docker.sh
    chmod +x setup_rdk_docker.sh
    

    Execute the script and follow the guide to complete the setup.

    ./setup_rdk_docker.sh
    

    Enter the Docker container:

    docker exec -it container_name bash
    

    Replace container_name with your created Docker container name.

    After this step, we assume that you already know about how to cross build the ROS 2 application on RZ/V2H RDK board as well as how to deploy and run it.

    The next instruction only focuses on demo-specific operation, not cover the general setup anymore.

  3. (Optional) If you have the real robot hardware, set up the robot arm or hand according to the instructions provided in the respective sample application sections.

The following figure shows the hardware setup of the RZ/V2H RDK board and peripherals used in the sample applications:

Hardware setup for sample applications on the RZ/V2H RDK board

Hardware setup for sample applications on the RZ/V2H RDK board.

Tip

A physical robot arm or hand is not required for the sample applications. You can use Foxglove Studio to visualize the robot state and control the robot in a simulated environment. See Foxglove Studio Visualization for more details.

List of Sample Applications

Follow the instructions in the respective sample application sections to run each application on the RZ/V2H RDK platform.