Rock

the Robot Construction Kit

Overview

Data Analysis

This part of the Robot Construction Kit documentation covers the topic of data analysis, which is supported by a Rock using a dedicated tools. These tools allow you to:

  • log your data. Logging data is cheap (CPU-wise) in Rock, and can mostly always been kept turned on at all times without a great impact on the system performance (unless you have I/O problems, obviously). The generated log files are self contained, which means that the only thing you need to read them are the log tools. No other software is required – i.e. there is no need for the modules that generated them to be kept around.
  • replay logged data using Ruby scripting, with an API that is as close as normal component deployment as possible.
  • display both logged or live data in a uniform manner

People using robotic systems know that logging is the root of most of the work. Why ? Usually you will analyze your logged data post-mortem. But because a robot software layer generates a lot of data you require tools to handle the data, so that you can reproduce problems and find the information you are really looking for. Thus, being able to replay data so that you can reproduce problems or just test different algorithms on the same data is an important aspect of your work. Eventually, having the means to display your data will improve your online and offline experiences, since you can better estimate the system status and reduce the time needed for troubleshooting.