Skip to content

Commit 37e7777

Browse files
committed
change to rgb
1 parent df5060e commit 37e7777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

picam_client/src/picam_client_node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ void PicamClientNode::handle_image_message(const std::vector<char> & /*data*/,
284284
}
285285

286286
auto msg =
287-
cv_bridge::CvImage(std_msgs::msg::Header(), "bgr8", img).toImageMsg();
287+
cv_bridge::CvImage(std_msgs::msg::Header(), "rgb8", img).toImageMsg();
288288
msg->header.stamp = rclcpp::Time(timestamp);
289289

290290
if (marked) {

0 commit comments

Comments
 (0)