installation_tutorial - osrf/vrx GitHub Wiki

Installing VRX

Once you have set up your development environment, the following steps will download and build VRX:

  1. Create a colcon workspace and clone the vrx repository

    mkdir -p ~/vrx_ws/src
    cd ~/vrx_ws/src
    git clone https://github.com/osrf/vrx.git
    
  2. Source your ROS 2 installation.

    source /opt/ros/humble/setup.bash
    
  3. Build the workspace

    cd ~/vrx_ws
    colcon build --merge-install
    

Setting up your environment

Now that you've built the simulation, you will need to source the setup script before you can do anything with it. From the root of your workspace, run:

. install/setup.bash

Note that, in general, you always need to perform this step when working with ROS and ROS 2 workspaces. Forgetting to source the environment is one of the most common mistakes among new users. If you're new to ROS 2 workspaces, you may find this tutorial helpful.

Back: Preparing Your System Top: VRX Tutorials Next: Running VRX
⚠️ **GitHub.com Fallback** ⚠️