Problem with running the node.launch
Hello, I meet a new error when running the node.launch.I use flir A6x5 as the camera and add a args view:=true. Finally the screen show this.
[ERROR] [1476430791.716321487]: Unable to convert 'mono16' image for display: 'Image is wrongly formed: height * step != size or 480 * 1280 != 307200'
4434 ERR /PvGenParameterArray.cpp 594 GetFloatValue Cannot get float Spot, not in parameter array
I would really appreciate if you'd show me how to do it . thx!
I don't have enough information to help you. Does it work without setting the view argument?
I print some info about the parameters,the cache_.bit=0.When I chane your code from
- image_msg.encoding = sensor_msgs::image_encodings::MONO16;
- image_msg.step = image_msg.width * 2;
to
- image_msg.encoding = sensor_msgs::image_encodings::MONO8;
-
it works. On the other hande,could you tell me who to use your launch to get the temperature? thx!image_msg.step = image_msg.width;