Skip to content

Commit b6694c1

Browse files
committed
Fix battery_monitor absolute topic
1 parent 9f85bcf commit b6694c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rosbot_utils/scripts/battery_monitor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class BatteryMonitor(Node):
3535
)
3636

3737
self.subscription = self.create_subscription(
38-
BatteryState, "/battery", self.battery_callback, qos_profile
38+
BatteryState, "battery", self.battery_callback, qos_profile
3939
)
4040

4141
self.last_play_time = None

0 commit comments

Comments
 (0)