| 422 | } |
| 423 | |
| 424 | void RosBaseDataProvider::publishDebugImage(const Timestamp& timestamp, |
| 425 | const cv::Mat& debug_image) const { |
| 426 | // CHECK(debug_image.type(), CV_8UC1); |
| 427 | std_msgs::Header h; |
| 428 | h.stamp.fromNSec(timestamp); |
| 429 | h.frame_id = base_link_frame_id_; |
| 430 | // Copies... |
| 431 | debug_img_pub_.publish( |
| 432 | cv_bridge::CvImage(h, "bgr8", debug_image).toImageMsg()); |
| 433 | } |
| 434 | |
| 435 | // void RosBaseDataProvider::publishTimeHorizonMesh3D( |
| 436 | // const SpinOutputPacket& vio_output) { |
nothing calls this directly
no outgoing calls
no test coverage detected