I am using the pylon_camera ROS package for my Basler acA2040-90uc camera. I was following installation procedures for the driver, and when I run the line:
roslaunch pylon_camera pylon_camera_node.launch
I see some camera info such as name and exposure time in the Terminal but then the errors:
[ WARN] [1496427607.046367698]: No image encoding provided. Will use 'mono8' or 'rgb8' as fallback! [ERROR] [1496427607.060515363]: Couldn't find a fallback solution! [ERROR] [1496427607.061636139]: Error while start grabbing
In the log file generated, I see the warning
WARN [/home/ubuntu/catkin_ws/src/pylon_camera/include/pylon_camera/internal/impl/pylon_camera_base.hpp:442(PylonCameraImpl::setImageEncoding) [topics: /rosout, /pylon_camera_node/image_raw, /pylon_camera_node/camera_info] No image encoding provided. Will use 'mono8' or 'rgb8' as fallback!
I know this camera can support the encoding 'bayer_bggr8', so it is supported. I can also view the images on the Pylon viewer app on a different machine (this one doesn't support that app).
It seems that they may be a service I can call to manually set this image encoding? I was unable to find any information about it, so any assistance would be appreciated. Thanks in advance.
Originally posted by Omkar on ROS Answers with karma: 3 on 2017-06-02
Post score: 0