MCPcopy Create free account
hub / github.com/MIT-SPARK/Kimera-VIO-ROS / publishDebugImage

Method publishDebugImage

src/base-data-source.cpp:424–433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424void 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) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected