Power system. More...

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   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 struct player_power_data player_power_data_t
 Data: voltage (PLAYER_POWER_DATA_STATE) More...
 
typedef struct player_power_chargepolicy_config player_power_chargepolicy_config_t
 Request/reply: set charging policy. More...
 

Typedef Documentation

◆ player_power_chargepolicy_config_t

Request/reply: set charging policy.

Send a PLAYER_POWER_REQ_SET_CHARGING_POLICY request to change the charging policy.

◆ player_power_data_t

Data: voltage (PLAYER_POWER_DATA_STATE)

The power interface returns data in this format.