power
Power system. More...
#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 struct player_power_data | player_power_data_t |
Data: voltage (PLAYER_POWER_DATA_STATE) | |
typedef struct player_power_chargepolicy_config | player_power_chargepolicy_config_t |
Request/reply: set charging policy. |
Detailed Description
Power system.
The power
interface provides access to a robot's power subsystem.
Typedef Documentation
Request/reply: set charging policy.
Send a PLAYER_ENERGY_SET_CHARGING_POLICY_REQ request to change the charging policy.
typedef struct player_power_data player_power_data_t |
Data: voltage (PLAYER_POWER_DATA_STATE)
The power
interface returns data in this format.