From 1b1fd740c5d26ad381f2d94ef0e69bbec7b1861e Mon Sep 17 00:00:00 2001 From: AndrewHWang1605 <70298553+AndrewHWang1605@users.noreply.github.com> Date: Mon, 29 Apr 2024 19:08:06 -0700 Subject: [PATCH] Update ff_sim/ff_sim/controller_metrics.py Co-authored-by: Alvin Sun --- ff_sim/ff_sim/controller_metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ff_sim/ff_sim/controller_metrics.py b/ff_sim/ff_sim/controller_metrics.py index ca58307..e725d3c 100755 --- a/ff_sim/ff_sim/controller_metrics.py +++ b/ff_sim/ff_sim/controller_metrics.py @@ -62,7 +62,7 @@ class ControllerMetricsPublisher(Node): def __init__(self): super().__init__("ff_ctrl_metrics") - self.curr_time = self.get_clock().now().to_msg() + self.curr_time = self.get_clock().now() self.steps = 0 self.running_total_gas = 0 self.prev_thruster_sum = 0