Skip to content

Commit

Permalink
Update ff_sim/ff_sim/controller_metrics.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alvin Sun <[email protected]>
  • Loading branch information
AndrewHWang1605 and alvinsunyixiao authored Apr 30, 2024
1 parent 1ad0e2e commit 1b1fd74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ff_sim/ff_sim/controller_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b1fd74

Please sign in to comment.