Giter Site home page Giter Site logo

ros_logging's Introduction

Installation

You need to have a base ROS installation as well as the warehousewg stack installed. Then, clone this repo into your ROS_PACKAGE_PATH and do a make.

Setup

The simplest way to run the logging nodes is:

$ roslaunch logging_tools ros_logging.launch run_db:=true db_path:=/path/to/db

You can leave out db_path, in which case it will default to /tmp/mongo. If you're already running a Mongo db server for other purposes (on port 27017), use run_db:=false instead.

Usage

Querying rosout

Use the grep_log tool, e.g., if you want to find out when exactly your robot caught fire:

$ rosrun logging_tools grep_log -m fire

For general help, see:

$ rosrun logging_tools grep_log -h

If you use this often, you can add an alias to your .bashrc:

alias gl="rosrun logging_tools grep_log"

Querying the action history

For each ROS action that was performed, the goal message, goal time, and result time and status are logged. You can query by specifying action name and optionally a max and min age. E.g., the following gets all move_base actions that happened between one and two hours ago:

$ rosrun logging_tools search_actions -x 120 -m 60 -a move_base

ros_logging's People

Contributors

bhaskara avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

ngocphu811

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.