Skip to content

Commit 5e3d0a9

Browse files
committed
add explicit power_state.connected
1 parent 3343ada commit 5e3d0a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cob_msgs/msg/PowerState.msg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ float64 current # [A]
55
float64 power_consumption # [W] can only be calculated if not charging
66
float64 remaining_capacity # [Ah]
77
float64 relative_remaining_capacity # [0..100] percent of maximum capacity (parameter max_capacity)
8-
bool charging # flag if robot is connected to external power or not
8+
bool connected # flag if robot is connected to external power or not (charging station or external charger)
9+
bool charging # flag if robot is charging (energy flow into battery)
910
float64 time_remaining # [h] estimated time to empty or fully charged
1011
float64 temperature # [Celsius] temperature of the battery

0 commit comments

Comments
 (0)