Skip to content

Commit

Permalink
fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
danialramzan committed Aug 7, 2024
1 parent 95f7e3b commit 2e042b3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/triton_gazebo/src/underwater_camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,11 @@ namespace triton_gazebo
underwater_image_pub_.publish(message);

auto runtime = this->get_clock()->now() - timer;
RCLCPP_INFO(this->get_logger(),"Processing took: "+ std::to_string(runtime.seconds()) + "s");

// RCLCPP_INFO(this->get_logger(),"Processing took: "+ std::to_string(runtime.seconds()) + "s");

RCLCPP_INFO(this->get_logger(), "Processing took: %.2fs", runtime.seconds());

}

} // namespace triton_gazebo
Expand Down

0 comments on commit 2e042b3

Please sign in to comment.