ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Panorma Turtlebot

asked 2018-06-22 06:44:24 -0500

arminkazim gravatar image

updated 2018-06-29 10:49:27 -0500

jayess gravatar image

I am working with the turtlebot 3 when i am using the function

rosservice call turtlebot3_panorama/take_pano 0 360.0 30.0 0.3

i never get 360 degree pictures but rather 180 degree Also when i select the panorama picture in rqt_image_view during the process of snapshot taking it seems to crash the process resulting in: at the end of panorama programm

[ INFO] [1528970263.286862092]: Stiching 12 images
[ INFO] [1528970269.967378861]: Finished Stiching
[ERROR] [1528970269.967413585]: Compressed Depth Image Transport - Compression requires single-channel 32bit-floating point or 16bit raw depth images (input format is: bgr8).
OpenCV Error: Unknown error code -10 (Raw image encoder error: Empty JPEG image (DNL not supported)) in throwOnEror, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/imgcodecs/src/grfmt_base.cpp, line 140
[ERROR] [1528970269.967481032]: /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/imgcodecs/src/grfmt_base.cpp:140: error: (-10) Raw image encoder error: Empty JPEG image (DNL not supported) in function throwOnEror
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-06-29 10:47:32 -0500

Avio gravatar image

I've seen this same error writing a node in Python. The problem was that, before cv2.imencode(), one of the images was None (the NULL equivalent in Python). So check that your images are not NULL or 0xN or whatever alike. Good luck!

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-06-22 06:44:24 -0500

Seen: 714 times

Last updated: Jun 29 '18