The cob_common stack hosts common packages that are used within the Care-O-bot repository. E.g. utility packages or common message and service definitions etc. Also the urdf desciption of the robot is located in this stack.
This explicitly adds an additional bool flag for the connection status to the charger.
Up to now we used to interpret power_state.charging as plugged to charging station or plugged to external charger by evaluating the power_state.current with magic thresholds. With the new field power_state.connected we can express better that we are connected to the charger but not charging (because battery might be full already).
ref https://github.com/mojin-robotics/cob4/issues/2496
This explicitly adds an additional bool flag for the connection status to the charger.
Up to now we used to interpret
power_state.charging
as plugged to charging station or plugged to external charger by evaluating thepower_state.current
with magic thresholds. With the new fieldpower_state.connected
we can express better that we are connected to the charger but not charging (because battery might be full already).