We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91adfce commit c6312abCopy full SHA for c6312ab
1 file changed
yolox_ros_cpp/yolox_ros_cpp/src/yolox_ros_cpp.cpp
@@ -120,8 +120,8 @@ namespace yolox_ros_cpp
120
auto objects = this->yolox_->inference(frame);
121
auto end = std::chrono::system_clock::now();
122
123
- auto elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(end - now);
124
- RCLCPP_INFO(this->get_logger(), "Inference time: %5ld ms", elapsed.count());
+ auto elapsed = std::chrono::duration_cast<std::chrono::microseconds>(end - now);
+ RCLCPP_INFO(this->get_logger(), "Inference time: %5ld us", elapsed.count());
125
126
yolox_cpp::utils::draw_objects(frame, objects, this->class_names_);
127
if (this->params_.imshow_isshow)
0 commit comments