GithubHelp home page GithubHelp logo

ros-system-monitor's Introduction

ros-system-monitor

Synopsis

System monitoring tools for ROS.

Author(s): Willow Garage, Inc., Jerome Maye, Ralf Kaestner

Maintainer: Ralf Kaestner [email protected]

License: BSD License (BSD)

Operating system(s): Debian-based Linux

Package PPA: ppa:ethz-asl/ros

Description

This project provides system monitoring tools for ROS in the form of the following ROS nodes:

  • CPU monitor
  • HDD monitor
  • Memory monitor
  • Network monitor
  • NTP monitor

Each node publishes ROS diagnostics which can conveniently be visualized in the runtime monitor.

Installation

Here, we assume you intend to build/install the project for the ROS distribution named ROS_DISTRO.

Installing from packages (recommended for Ubuntu LTS users)

The maintainers of this project provide binary packages for the latest Ubuntu LTS releases and commonly used system architectures. To install these packages, you may follow these instructions:

  • Add the project PPA to your APT sources by issuing

    sudo add-apt-repository ppa:ethz-asl/ros
    

    on the command line

  • To re-synchronize your package index files, run

    sudo apt-get update
    
  • Install all project packages and their dependencies through

    sudo apt-get install ros-ROS_DISTRO-system-monitor
    

    or using your favorite package management tool

Building from source

This project may be built using the CMake build system with an open-source macro extension called ReMake.

Installing build dependencies

The build dependencies of this project are available from the standard package repositories of recent Ubuntu and ROS releases. To install them, simply use the command

sudo apt-get install ros-ROS_DISTRO-rospy, ros-ROS_DISTRO-message-generation, ros-ROS_DISTRO-std-msgs, ros-ROS_DISTRO-diagnostic-msgs

Building with ReMake

Preparing the build system

If you already have installed ReMake on your build system, you may skip this step. Otherwise, before attempting to build this project the traditional CMake way, you must install ReMake following these instructions.

Building with CMake

Once ReMake is available on your build system, you may attempt to build this project the CMake way. Assuming that you have cloned the project sources into PROJECT_DIR, a typical out-of-source build might look like this:

  • Create a build directory using

    mkdir -p PROJECT_DIR/build
    
  • Switch into the build directoy by

    cd PROJECT_DIR/build
    
  • In the build directory, run

    cmake -DROS_DISTRIBUTION=ROS_DISTRO PROJECT_DIR
    

    to configure the build

  • If you want to inspect or modify the build configuration, issue

    ccmake PROJECT_DIR
    
  • Build the project using

    make
    
  • If you intend to install the project, call

    make packages_install
    

    (from packages on Debian-based Linux only) or

    make install
    

API documentation

This project does not yet provide any API documentation.

Feature requests and bug reports

If you would like to propose a feature for this project, please consider contributing or send a feature request to the project authors. Bugs may be reported through the project's issue page.

Further reading

For additional information of the Robot Operating System (ROS), please refer to the official ROS documentation.

ros-system-monitor's People

Contributors

kralf avatar mbuerki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ros-system-monitor's Issues

Fails if there are spaces in one USB-Stick's label

It may not be smart to have spaces in paths (e.g. /media/laurenz/Timeshift Backup), but from time to time it will still happen.

[ERROR] [1530271672.198548]: Traceback (most recent call last):                                                                                                                                                     
  File "/home/laurenz/catkin_ws/src/ros-system-monitor/bin/hdd_monitor.py", line 275, in check_disk_usage                                                                                                           
    hdd_usage = float(g_use.replace("%", ""))*1e-2                                                                                                                                                                  
ValueError: could not convert string to float: /media/laurenz/Timeshift                                                                                                                                             

Trouble installing

When trying to install from binaries I get the following error message:
E: Unable to locate package ros-kinetic-system-monitor

Then I tried to install from sources and it did install something. But it still is not listed under rospack and cannot be launched.

2 license

copyright says BSD3
where as
package.xml says LGPL

Node can not handle different locales

The script relies on the output of several system functions like mpstat and uptime. When using a locale that uses "," instead of "." for decimal separation, the script fails to convert to float.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.