cloudwatch_common repository

Repository Summary

Checkout URI https://github.com/aws-robotics/cloudwatch-common.git
VCS Type git
VCS Version master
Last Updated 2019-01-30
Dev Status MAINTAINED
Released RELEASED

Packages

README

ROS CloudWatch Service Common Library

Overview

This is the common library for the cloudwatch_logger and cloudwatch_metrics_collector packages.

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

  • Travis CI: Build Status
    • ROS build farm:
    • v1.0.0:
      • ROS Kinetic @ u16.04 Xenial
      • cloudwatch_metrics_common Build Status
      • cloudwatch_logs_common Build Status

Installation

Binaries

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

    sudo apt-get update
    sudo apt-get install -y ros-kinetic-cloudwatch-logs-common ros-kinetic-cloudwatch-metrics-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/cloudwatch-common.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