Skip to main content

Spinnaker SDK with ROS

Answered

Comments

3 comments

  • Official comment
    TDY_Markus
    Community team
    Great answers
    Expert (Gold)

    Hello Silvia,

    I'm afraid we can not provide that much support here, since we did not develop this driver ourselves. 
    https://github.com/ros-drivers/flir_camera_driver

    From the outputs it seems like you want to set Pixel Format BayerRG8, while your camera is a mono camera and supports Pixel format Mono8, Mono10, etc. only. Could this be the issue here? Could you please try to change the setting to the Mono8 Pixel Format?

    Also, have you tried to compare the launch file of the Raspberry Pi and your PC?

    Thanks,
    Markus

  • Silvia DT

    Hello Markus,

    I set pixel format with Mono8 and now there is no more warning. But I didn't get another thing now. Running camera.launch on the raspberry, raspberry becomes the master of the ros network and new topics and nodes are generated. In particular as reported here https://www.flir.com/support-center/iis/machine-vision/application-note/using-ros-with-spinnaker/ , 'This (roslaunch spinnaker_camera_driver camera.launch) starts streaming images at the default frame rate and publishes them to the ‘/camera/image_raw’ topic.'. The problem is that when I try to subscribe the images in Matlab, it seems no image are streammed on this topic (see the image). what could be the problem?

    thank you very much

    0
  • TDY_Markus
    Community team
    Great answers
    Expert (Gold)

    Hi Silvia,

    As a next step, could you please try if you get images using the rqt_image_view tool like described in the article?

    Thanks,
    Markus

    0

Please sign in to leave a comment.

Powered by Zendesk