flir_gige icon indicating copy to clipboard operation
flir_gige copied to clipboard

Problem with running the node.launch

Open nicaima opened this issue 9 years ago • 2 comments

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!

nicaima avatar Oct 14 '16 07:10 nicaima

I don't have enough information to help you. Does it work without setting the view argument?

versatran01 avatar Oct 14 '16 12:10 versatran01

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;
  • image_msg.step = image_msg.width;
    
    it works. On the other hande,could you tell me who to use your launch to get the temperature? thx!

nicaima avatar Oct 19 '16 03:10 nicaima