Implement and integrate PowerManagementSubUnit
- Define
PowerManagementInterface
as Ice interface in https://git.h2t.iar.kit.edu/sw/armarx/armarx-core - Define
PowerManagementSubUnitInterface
as IceInterface in RobotAPI that extendsPowerManagementInterface
- Implement a basic
PowerManagementSubUnit
in RobotAPI- SubUnits are located in
RobotAPI/source/RobotAPI/components/units/RobotUnit/Units/*SubUnit.cpp
- In specialized units, such as the concrete ARMAR-DE or ARMAR-7 units (that extend the abstract RobotUnit in RobotAPI), override
initializeDefaultUnits()
(see RobotAPI/source/RobotAPI/components/units/RobotUnit/RobotUnitModules/RobotUnitModuleUnits.cpp) and add thePowerManagementSubUnit
- SubUnits are located in
- Update the battery widget in ArmarXGui to use the new dedicated
PowerManagementInterface
from ArmarXCore.
Edited by Christian Dreher