We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5e091d7 + f6a9937 commit 0974e76Copy full SHA for 0974e76
1 file changed
ros/src/fsds_ros_bridge/src/fsds_ros_bridge_camera.cpp
@@ -75,7 +75,7 @@ void doImageUpdate(const ros::TimerEvent&)
75
img_msg->data = img_response.image_data_uint8;
76
img_msg->height = img_response.height;
77
img_msg->width = img_response.width;
78
- img_msg->step = img_response.width * 8; // image_width * num_bytes
+ img_msg->step = img_response.width * 3; // image_width * num_bytes
79
img_msg->encoding = "bgr8";
80
img_msg->is_bigendian = 0;
81
img_msg->header.stamp = make_ts(img_response.time_stamp);
0 commit comments