power
[Interface specifications]
Detailed Description
Power system.
The power interface provides access to a robot's power subsystem. Includes the functionality of the old Player energy device, which is now deprecated.
| #define | PLAYER_POWER_DATA_STATE 1 |
| Data subtype: voltage. | |
| #define | PLAYER_POWER_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 |
