Closed fanke1213812138 closed 2 years ago
When I used imagePublisher.cs to publish camera image to ROS, I got this error. Any help would be highly appreciated.
2021-11-04 21:54:07+0100 [-] [WARN] [1636059247.213620]: Could not process inbound connection: topic types do not match: [sensor_msgs/Image] vs. [sensor_msgs/CompressedImage]{'topic': '/unity', 'tcp_nodelay': '0', 'md5sum': '060021388200f6f0f447d0fcd9c64743', 'type': 'sensor_msgs/Image', 'callerid': '/image_view'} 2021-11-04 21:54:34+0100 [-] [INFO] [1636059274.840175]: Client disconnected. 0 clients total.
Hi @fanke1213812138 reading the error message it seems like you are publishing a CompressedImage whereas ROS / rosbridge suite expects an Image message.
When I used imagePublisher.cs to publish camera image to ROS, I got this error. Any help would be highly appreciated.
2021-11-04 21:54:07+0100 [-] [WARN] [1636059247.213620]: Could not process inbound connection: topic types do not match: [sensor_msgs/Image] vs. [sensor_msgs/CompressedImage]{'topic': '/unity', 'tcp_nodelay': '0', 'md5sum': '060021388200f6f0f447d0fcd9c64743', 'type': 'sensor_msgs/Image', 'callerid': '/image_view'} 2021-11-04 21:54:34+0100 [-] [INFO] [1636059274.840175]: Client disconnected. 0 clients total.