Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

player_energy_data Struct Reference
[energy]

#include <player.h>

List of all members.


Detailed Description

Data.

The energy interface reports he amount of energy stored, current rate of energy consumption or aquisition, and whether or not the device is connected to a charger.


Public Attributes

int32_t mjoules
int32_t mwatts
int8_t charging


Member Data Documentation

int32_t player_energy_data::mjoules
 

energy stored, in milliJoules.

int32_t player_energy_data::mwatts
 

estimated current energy consumption (negative values) or aquisition (positive values), in milliWatts (milliJoules/sec).

int8_t player_energy_data::charging
 

charge exchange status: if 1, the device is currently receiving charge from another energy device. If -1 the device is currently providing charge to another energy device. If 0, the device is not exchanging charge with an another device.


The documentation for this struct was generated from the following file:
Generated on Tue May 3 14:15:55 2005 for Player by doxygen 1.3.6