Player driver for the health of a robot. More...

Player driver for the health of a robot.

Author
Raphael Sznitman
Date
23.06.2005

The health driver allows for a user to get general systems data concerning a specific robot. Allows a user to look at cpu and memory usage of the robot.

Provides
  • health : Interface to the health
Configuration file options:
  • frequency (int)
    • Default: 100
Notes
libstatgrab:
The driver uses the library libstatgrab in order to fetch data concerning the cpu and the memory usage. Documentation on this library can be found at: http://www.i-scream.org/libstatgrab/.
Example: The following configuration file should demonstrate the use of this
driver.
driver
(
  name "statgrab"
  provides ["health:0"]
  frequency 10
)
Todo:
  • Test this code more!
  • Allow for the driver to return the temperature of the system in multiple location of the robot.
  • Also allow for the battery voltage to be monitored.
Author
Raphael Sznitman
Date
23.06.200