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