power
[Interface specifications]

Collaboration diagram for power:


Detailed Description

Power system.

The power interface provides access to a robot's power subsystem.

#define PLAYER_POWER_DATA_STATE   1
 Data subtype: voltage.
#define PLAYER_POWER_REQ_SET_CHARGING_POLICY_REQ   1
 Request subtype: set charging policy.
#define PLAYER_POWER_MASK_VOLTS   1
 bit masks for the player_power_data_t mask field
#define PLAYER_POWER_MASK_WATTS   2
 Data subtype: voltage.
#define PLAYER_POWER_MASK_JOULES   4
 Data subtype: voltage.
#define PLAYER_POWER_MASK_PERCENT   8
 Data subtype: voltage.
#define PLAYER_POWER_MASK_CHARGING   16
 Data subtype: voltage.
typedef player_power_data player_power_data_t
 Data: voltage (PLAYER_POWER_DATA_STATE).
typedef player_power_chargepolicy_config player_power_chargepolicy_config_t
 Request/reply: set charging policy.

Typedef Documentation

Request/reply: set charging policy.

Send a PLAYER_ENERGY_SET_CHARGING_POLICY_REQ request to change the charging policy.

Data: voltage (PLAYER_POWER_DATA_STATE).

The power interface returns data in this format.


Last updated 12 September 2005 21:38:45