Robotsystem of the Robot Group Leipzig: measuremodes.h File Reference

- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

- File List
- File Members

# measuremodes.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Enumerations
enum | MeasureMode { ID, AVG, MOVAVG, MED, MIN, MAX, PEAK, SUM, CONV, STEPDIFF, NORMSTEPDIFF }
| measure modes of statistical types. More...

## Enumeration Type Documentation

enum MeasureMode

measure modes of statistical types.

If you add a measure mode, you have naturally to implement this measuremode in statisticmeasure.cpp - see method StatisticMeasure::step() !

Enumerator:

  ID | returns the value to observe itself
  AVG | returns the average value
  MOVAVG | returns the moving average value
  MED | returns the median value
  MIN | returns the minimum value
  MAX | returns the maximum value
  PEAK | returns only values above defined limit
  SUM | returns the sum of the value generated over time (or stepSpan)
  CONV | returns 1 if convergence is reached, otherwise 0 convergence criteria (epsilon) is given by addMeasure, the convergence is reached if value is falling below the criteria of the measure time (stepSpan)
  STEPDIFF | returns the difference between two successive steps
  NORMSTEPDIFF | returns the difference between two successive steps, normalized with number of steps