Skip to content

Commit

Permalink
⚡ get time from msg
Browse files Browse the repository at this point in the history
  • Loading branch information
Rezenders committed Jun 4, 2024
1 parent bd34267 commit 3a04c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suave_metrics/suave_metrics/mission_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def gazebo_pos_cb(self, msg):
self.destroy_subscription(self.gazebo_pos_sub)

def diagnostics_cb(self, msg):
time = self.get_clock().now()
time = Time.from_msg(msg.header.stamp)
measurement_messages = [
'qa status',
'qa measurement',
Expand Down

0 comments on commit 3a04c4a

Please sign in to comment.