/utils-ros2

ROS2 common packages for facilitating the use of AWS cloud services.

Primary LanguageC++Apache License 2.0Apache-2.0

AWS Utils Library for ROS2

Note: this repository is under active development. The package provided here is a release candidate; the API may change without notice and no support is provided for it at the moment.

Overview

This is the common library for all of AWS RoboMaker ROS2 packages. It builds on top of the generic interfaces defined by utils-common to provide ROS2-specific helper functions and classes implementations for things such as logging and parameter loading.

License

The source code is released under an Apache 2.0.

Author: AWS RoboMaker
Affiliation: Amazon Web Services (AWS)
Maintainer: AWS RoboMaker, ros-contributions@amazon.com

Supported ROS2 Distributions

  • Dashing

Build status

  • Travis CI: Build Status
  • ROS build farm:
    • ROS Dashing @ u18.04 Bionic Build Status

Installation

Binaries

Pending bloom-release. In the future, you'd be able to install the latest released version of this package using the following command on Ubuntu:

    sudo apt-get update
    sudo apt-get install -y ros-$ROS_DISTRO-aws-ros2-common

Building from Source

To build from source you'll need to create a new workspace, clone and checkout the latest release branch of this repository, install all the dependencies, and compile. If you need the latest development features you can clone from the master branch instead of the latest release branch. While we guarantee the release branches are stable, the master should be considered to have an unstable build due to ongoing development.

  • Create a ROS workspace and a source directory: mkdir -p ~/ros-workspace/src

  • Clone the package into the source directory .

Note: Replace {MAJOR.VERSION} below with the latest major version number to get the latest release branch.

    cd ~/ros-workspace/src
    git clone https://github.com/aws-robotics/utils-ros2.git -b release-v{MAJOR.VERSION}
  • Install dependencies

      cd ~/ros-workspace 
      sudo apt-get update && rosdep update
      rosdep install --from-paths src --ignore-src -r -y
    

Note: If building the master branch instead of a release branch you may need to also checkout and build the master branches of the packages this package depends on.

  • Build the packages

      cd ~/ros-workspace && colcon build
    
  • Configure ROS library path

      source ~/ros-workspace/install/setup.bash