Build & Install

EasyNav runs on Linux with ROS 2 humble, jazzy, kilted, lyrical or rolling. The recommended way to install it is with APT, using the packages of the ROS 2 buildfarm (all distros but rolling, which has no APT packages for now: use Pixi or build from source).

This documentation describes EasyNav 0.5.0, the version that APT installs on every distro.

Install from source

You need ROS 2 installed.

The commands clone the EasyNav 0.5.0 release (its git tags), the same on every distro.

  1. Create a workspace and clone EasyNav, its plugins, NavMap and yaets (the tracing library EasyNav uses):

    mkdir -p ~/easynav_ws/src
    cd ~/easynav_ws/src
    git clone -b 0.5.0 https://github.com/EasyNavigation/EasyNavigation.git
    git clone -b 0.5.0 https://github.com/EasyNavigation/easynav_plugins.git
    git clone -b 0.6.0 https://github.com/EasyNavigation/NavMap.git
    git clone -b 1.2.0 https://github.com/fmrico/yaets.git
    
  2. Install the dependencies:

    cd ~/easynav_ws
    rosdep install --from-paths src --ignore-src -y -r
    

    (If you never used rosdep, run sudo rosdep init and rosdep update first.)

  3. Build:

    colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
    
  4. Source the workspace, in every new terminal:

    source /opt/ros/<distro>/setup.bash
    source ~/easynav_ws/install/setup.bash
    

That’s it: EasyNav and all its official plugins are installed. Continue with Getting Started.

Other options

  • Install from Binaries β€” APT and Pixi packages: plugins, PlayGrounds and the versions available for each distro.

  • Real-time System Setup β€” let EasyNav run its control cycle with real-time priority (recommended on a real robot).

  • Troubleshooting β€” common problems, running the tests and uninstalling.