Skip to content

Commit

Permalink
black formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
josephvanpeltkw committed Dec 26, 2024
1 parent 5012bd3 commit 3e99e35
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions ros/angel_system_nodes/angel_system_nodes/latency_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@
from angel_utils.conversion import time_to_float, time_to_int
from builtin_interfaces.msg import Time

from angel_msgs.msg import ObjectDetection2dSet, HandJointPosesUpdate, ActivityDetection, TaskUpdate
from angel_msgs.msg import (
ObjectDetection2dSet,
HandJointPosesUpdate,
ActivityDetection,
TaskUpdate,
)
from angel_utils import (
declare_and_get_parameters,
RateTracker, # DYNAMIC_TYPE
Expand Down Expand Up @@ -204,7 +209,9 @@ def rt_loop(self):
with self._task_msg_lock:
task_msg = self._task
task_time = time_to_float(task_msg.header.stamp)
img_time = self.get_msg_time_from_source(task_msg.latest_sensor_input_time)
img_time = self.get_msg_time_from_source(
task_msg.latest_sensor_input_time
)
if img_time is not None:
task_lat = task_time - time_to_float(img_time)

Expand Down

0 comments on commit 3e99e35

Please sign in to comment.