/utils-ros1

ROS packages for facilitating the use of AWS cloud services.

Primary LanguageC++Apache License 2.0Apache-2.0

AWS Utils Library for ROS1

Overview

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

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 ROS Distributions

  • Kinetic
  • Melodic

Build status

  • GitHub Action Status

    • master: Build & Test
    • release-latest: Build & Test release-latest
  • ROS build farm:

    • ROS Kinetic @ u16.04 Xenial Build Status
    • ROS Melodic @ u18.04 Bionic Build Status

Installation

Binaries

On Ubuntu you can install the latest released version of this package using the following command

    sudo apt-get update
    sudo apt-get install -y ros-$ROS_DISTRO-aws-ros1-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.

  • Install build tool: please refer to colcon installation guide

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

  • Clone the package into the source directory .

      cd ~/ros-workspace/src
      git clone https://github.com/aws-robotics/utils-ros1.git -b release-latest
    
  • 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