Skip to content

Commit

Permalink
Automated autoyapf fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Aug 15, 2023
1 parent e80bfe5 commit 97b2240
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions logging/logging_njord/src/logging_ros_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,11 @@ def battery_callback(self, data):
self.find_battery_percentage_left(data.voltage)
]

self.current_battery_total = [self.current_battery1[0] + self.current_battery2[0], (self.current_battery1[1] + self.current_battery2[1])/2]

self.current_battery_total = [
self.current_battery1[0] + self.current_battery2[0],
(self.current_battery1[1] + self.current_battery2[1]) / 2
]

self.log_lock.release()

def timer_callback(self):
Expand Down

0 comments on commit 97b2240

Please sign in to comment.