rviz error with image size
When I played back rosbag file with image stream, I got following error. How can I solve? I'm using Ubuntu 12.10, Groovy installed using apt-get.
The dataset can be downloaded from http://www6.in.tum.de/~kloses/rvc/kitti_01.bag
[ERROR] [1362379889.436924410]: Error loading image: OGRE EXCEPTION(2:InvalidParametersException): Stream size does not match calculated image size in Image::loadRawData at /build/buildd/ogre-1.7.4/OgreMain/src/OgreImage.cpp (line 283)
$ rostopic echo /kittystereo/left/camerainfo
gives following.
header:
seq: 1096
stamp:
secs: 1342792580
nsecs: 367798328
frame_id: /kitty_stereo/left
height: 376
width: 1241
distortion_model: ''
D: []
K: [718.856, 0.0, 607.1928, 0.0, 718.856, 185.2157, 0.0, 0.0, 1.0]
R: [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0]
P: [718.856, 0.0, 607.1928, 0.0, 0.0, 718.856, 185.2157, 0.0, 0.0, 0.0, 1.0, 0.0]
binning_x: 0
binning_y: 0
roi:
x_offset: 0
y_offset: 0
height: 0
width: 0
do_rectify: False
---
Asked by Hyon Lim on 2013-03-03 19:52:18 UTC
Answers
Which error? If the size does not fit your camera, you might have to configure it, check the parameters of the camera node you are using.
Asked by felix k on 2013-03-03 23:06:08 UTC
Comments
Please edit your question to show the exact error you see.
Asked by joq on 2013-03-04 02:59:07 UTC