Package Summary

Tags No category tags.
Version 2.0.6
License Apache-2
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros-drivers/flir_camera_driver.git
VCS Type git
VCS Version humble-devel
Last Updated 2023-08-12
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

ROS2 driver for flir spinnaker sdk

Additional Links

No additional links.

Maintainers

  • Bernd Pfrommer

Authors

No additional authors.

spinnaker_camera_driver: ROS driver for FLIR cameras based on the Spinnaker SDK

ROS driver for the FLIR cameras using the Spinnaker SDK.

NOTE: This driver is not written or supported by FLIR.

Tested cameras:

The following cameras have been used with this driver:

  • Blackfly S (USB3, GigE)
  • Blackfly (GigE)
  • Grashopper (USB3)
  • Chameleon (USB3, tested on firmware v1.13.3.00)

Note: if you get other cameras to work, please report back, ideally submit a pull request with the camera config file you have created.

Tested platforms

Software:

  • ROS2 Galactic under Ubuntu 20.04 LTS
  • ROS2 Humble under Ubuntu 22.04 LTS
  • Spinnaker 3.1.0.79 (other versions may work as well but this is what the continuous integration builds are using)

How to install

This driver can be used with or without installing the Spinnaker SDK, but installing the Spinnaker SDK is recommended because during its installation the USB kernel configuration is modified as needed and suitable access permissions are granted (udev rules). If you choose to not use the Spinnaker SDK, you must perform the required setup steps manually. Without these setup steps, the ROS driver will not detect the camera. So you must either install the Spinnaker SDK (which also gives you the useful spinview tool), or follow the manual setup steps mentioned earlier.

Installing from packages

For some architectures and ros distributions you can simply install an apt package:

sudo apt install ros-${ROS_DISTRO}-spinnaker-camera-driver

The package will bring its own set of Spinnaker SDK libraries, so you don't necessarily have to install the SDK, but it's recommended, see above

Building from source

1) Install the FLIR spinnaker driver. If you skip this part, the driver will attempt to download the Spinnaker SDK automatically to obtain the header files and libraries. 2) Prepare the ROS2 driver build: Make sure you have your ROS2 environment sourced:

source /opt/ros/<my_ros_distro>/setup.bash

Create a workspace (~/ws), clone this repo:

mkdir -p ~/ws/src
cd ~/ws/src
git clone --branch humble-devel https://github.com/ros-drivers/flir_camera_driver
cd ..

To automatically install all packages that the flir_camera_driver packages depends upon, run this at the top of your workspace:

rosdep install --from-paths src --ignore-src

3) Build the driver and source the workspace:

colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
. install/setup.bash

Example usage

Single node launch

The driver comes with an example launch file (driver_node.launch.py) that you can customize as needed.

# launch with --show-args to print out all available launch arguments
ros2 launch spinnaker_camera_driver driver_node.launch.py camera_type:=blackfly_s serial:="'20435008'"

Stereo camera with synchronization

The launch file stereo_synced.launch.py provides a working example for launching drivers for two hardware synchronized Blackfly S cameras. It requires two more packages to be installed, cam_sync_ros2(for time stamp syncing) and exposure_control_ros2 (for external exposure control). The launch file also demonstrates how to use the driver as a composable node.

Features

The ROS driver itself has no notion of the camera type (Blackfly, Grasshopper etc), nor does it explicitly support any of the many features that the FLIR cameras have. Rather, all camera features (called Spinnaker Nodes) are mapped to ROS parameters via a yaml file that is specific to the camera. On startup the driver reads this parameter definition file. In the config directory there are some parameter definition files for popular cameras (blackfly_s.yaml etc) that expose some of the more frequently used features like frame rate, gain, etc. You can add more features by providing your own parameter definition file. The ROS driver code is just a thin wrapper around the Spinnaker SDK, and should allow you to access all features available in FLIR's spinview program. In addition to the parameters defined in the .yaml files, the driver has the following ROS parameters:

  • serial_number: must have the serial number of the camera. If you don't know it, put in anything you like and the driver will croak with an error message, telling you what cameras serial numbers are available
  • frame_id: the ROS frame id to put in the header of the published image messages.
  • camerainfo_url: where to find the camera calibration yaml file.
  • parameter_file: location of the .yaml file defining the camera (blackfly_s.yaml etc)
  • compute_brightness: if true, compute image brightness and publish it in meta data message. This is useful for external exposure control but incurs extra CPU load. Default: false.
  • buffer_queue_size: max number of images to queue internally before shoving them into the ROS output queue. Decouples the Spinnaker SDK thread from the ROS publishing thread. Default: 4.
  • image_queue_size: ROS output queue size (number of frames). Default: 4
  • dump_node_map: set this to true to get a dump of the node map. This feature is helpful when developing a new config file. Default: false.
  • adjust_timestamp: see below for more documentation
  • acquisition_timeout: timeout for expecting frames (in seconds). If no frame is received for this time, the driver restarts. Default is 3s.

Setting up GigE cameras

The Spinnaker SDK abstracts away the transport layer so a GigE camera should work the same way as USB3: you point it to the serial number and you're set.

There are a few GigE-specific settings in the Transport Layer Control group that are important, in particular enabling jumbo frames from the camera per FLIR's recommendations. The following line in your camera-specific config file will create a ROS2 parameter gev_scps_packet_size:

gev_scps_packet_size int "TransportLayerControl/GigEVision/GevSCPSPacketSize"

that you can then set in your ROS2 launch file:

 "gev_scps_packet_size": 9000

As far as setting up the camera's IP address: you can set up DHCP on your network or configure a static persistent IP using spinview in "Transport Layer Control">"GigE Vision". Check the box for "Current IP Configuration Persistent IP" first to enable it, then set your desired addresses under "Persistent IP Address", "Persistent Subnet Mask" and "Persistent Gateway". NOTE: these look like regular IPs, but to set them you have to enter the 32-bit integer representation of the IP address/mask. By hand/calculator: convert the IP octets from decimal to hex, then combine them and convert to a 32-bit integer, ex: 192.168.0.1 -> 0xC0A80001 -> 3232235521.

The "Transport Layer Control">"GigE Vision" section of spinview is also where you'll find that "SCPS Packet Size" setting, which you can change when not capturing frames, and verify it works in spinview and without needing to spin up a custom launch file to get started, though it helps, and you'll probably want one anyway to specify your camera's serial number.

For more tips on GigE setup look at FLIR's support pages here and here.

Time stamps

By default the driver will set the ROS header time stamp to be the time when the image was delivered by the SDK. Such time stamps are not very precise and may lag depending on host CPU load. However the driver has a feature to use the much more accurate sensor-provided camera time stamps. These are then converted to ROS time stamps by estimating the offset between ROS and sensor time stamps via a simple moving average. For the adjustment to work the camera must be configured to send time stamps, and the adjust_timestamp flag must be set to true, and the relevant field in the "chunk" must be populated by the camera. For the Blackfly S the parameters look like this:

    'adjust_timestamp': True,
    'chunk_mode_active': True,
    'chunk_selector_timestamp': 'Timestamp',
    'chunk_enable_timestamp': True,

When running hardware synchronized cameras in a stereo configuration two drivers will need to be run, one for each camera. This will mean however that their published ROS header time stamps are not identical which in turn may prevent down-stream ROS nodes from recognizing the images as being hardware synchronized. You can use the cam_sync_ros2 node to force the time stamps to be aligned. In this scenario it is mandatory to configure the driver to adjust the ROS time stamps as described above.

Automatic exposure

In most situations it is recommended to enable the built-in auto exposure of the camera. However, in a synchronized setting it is sometimes desirable to disable the built-in auto-exposure and provide it externally. For instance in a stereo setup, matching left and right image patches can be difficult when each camera runs its own auto exposure independently. The exposure_control_ros2 package can provide external automatic exposure control. To this end the driver publishes meta data messages and subscribes to camera control messages. See the launch file directory for examples.

How to add new features and develop your own camera configuration file

Check out this section for more information on how to add features.

Known issues

1) If you run multiple drivers in separate nodes that all access USB based devices, starting a new driver will stop the image acquisition of currently running drivers. There is an ugly workaround for this currently implemented: if image delivery stops for more than acquisition_timeout seconds, the acquisition is restarted. This operation may not be thread safe so the driver already running could possibly crash. This issue can be avoided by running all drivers in the same address space with a composable node (see stereo launch file for example).

How to contribute

Please provide feedback if you cannot get your camera working or if the code does not compile for you. Feedback is crucial for the software development process. However, before opening issues on github first verify that the problem is not present when using spinview.

Bug fixes and config files for new cameras are greatly appreciated. Before submitting a pull request, run this to see if your commit passes some basic lint tests:

colcon test --packages-select spinnaker_camera_driver && colcon test-result --verbose

License

This software is issued under the Apache License Version 2.0. The file TargetArch.cmake is released under a custom license (see file)

CHANGELOG

Changelog for package spinnaker_camera_driver

2.0.6 (2023-08-12)

  • fix arm64 build: use correct file name when downloading spinnaker from clearpath
  • fix broken build when the Spinnaker SDK is present
  • allow building with older version (0.6) of yaml library
  • Contributors: Bernd Pfrommer

2.0.5 (2023-08-11)

  • add ffmpeg dependency to fix build failures on ROS farm
  • switch from custom config files to standard yaml format
  • Contributors: Bernd Pfrommer

2.0.4 (2023-08-10)

  • install spinnaker libraries in spinnaker_camera_driver dir
  • Contributors: Bernd Pfrommer

2.0.3 (2023-08-01)

  • Hardcoding OS to jammy since it is the only one currently supported.
  • Contributors: Tony Baltovski

2.0.2 (2023-07-28)

  • replace lsb-release with python3-distro
  • add dependencies for spinnaker download
  • Contributors: Bernd Pfrommer

2.0.1 (2023-07-24)

  • use cmake find_program to detect lsb_release
  • Contributors: Bernd Pfrommer

2.0.0 (2023-07-20)

  • Merge pull request #113 from berndpfrommer/humble-devel-new new driver for ROS2
  • added spinnaker_camera_driver package
  • deleted spinnaker ros2 driver, to be replaced by new version
  • Contributors: Bernd Pfrommer, Tony Baltovski

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged spinnaker_camera_driver at answers.ros.org

Package Summary

Tags No category tags.
Version 0.2.5
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros-drivers/flir_camera_driver.git
VCS Type git
VCS Version noetic-devel
Last Updated 2023-09-22
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Spinnaker camera driver based on Spinnaker.

Additional Links

Maintainers

  • Mike Hosmar

Authors

  • Chad Rockey
README
No README found. See repository README.
CHANGELOG

Changelog for package spinnaker_camera_driver

0.2.2 (2022-03-28)

  • Added new-line at EOF
  • Spinnaker libraries are now all copied to usr/lib
  • Reordered definitions to prevent compiler warnings
  • Contributors: Luis Camero

0.2.1 (2022-03-21)

  • Removed check for build/usr/lib which would cause build to skip Spinnaker SDK install
  • Contributors: Luis Camero

0.2.0 (2022-03-11)

  • Changes.
  • Merge pull request #91 from luis-camero/noetic-devel ROS Industrial CI
  • Fixed all issues reported by roslint
  • Updated file paths to /opt/spinnaker instead of /usr/spinnaker
  • Updated download_spinnaker look-up table
  • Merge pull request #88 from luis-camero/noetic-devel Add readable check to SDK parameters
  • Add readable check to SDK parameters
  • URDF Description, Diagnostics, ISP Enable, and Launch Files (#81)
    • Changes required to use GigE Blackfly S version
    • Added blackfly mesh
    • Added URDF of blackflys and CHANGELOG
    • Added new_line at end of flir_blackflys.urdf.xacro
    • Added DiagnosticAnalyzers and more detailed diagnostic messages
    • Added ISP enable and disable config and updated camera launch file to be more descriptive
    • Switched order of configuration to put ISP enable next to color encoding
    • Updated config to include enumeration for Off, Once, Continuous parameters, and udpated diagnostics.launch
    • Handled issue where no namespace prevents diagnostics_agg from loading from analyzer paramaters
  • Branch to Support GigE Cameras (#79)
    • Changes required to use GigE Blackfly S version
    • Update SpinnakerCamera.cpp
  • Add new parameter to apply an offset to image time stamps (#56)
  • Fixes SpinnakerCamera teardown (#16)
    • fixes error on destroying SpinnakerCamera with multiple cameras
    • adds clarifying comment
  • Add /opt/spinnaker to spinnaker discovery options (#63)
  • increase maximum value of exposure_time/auto_exposure_time_upper_limit (#55)
  • add option to set queue_size for ros publisher (#54)
  • Added support for Grasshopper3. Identical to Chameleon3, split into separate files for clarity. (#26)
  • Feature: horizontal and vertical image reverse (#41)

    • Add horizontal/vertical inverse to reconfigure cfg

    * Add ReverseX/ReverseY with setProperty Co-authored-by: Fabian Schilling <fabian.schilling@me.com>

  • Update Spinnaker.cfg (#50) Fix for correct spelling with capital letter for bool type

  • Add auto exposure ROI parameters (#52) * spinnaker_camera_driver: setProperty: report available enum values Only done on failure. This helps to figure out which enum values are available on a particular camera model. * spinnaker_camera_driver: expose AE ROI parameters This is highly useful when using fisheye lenses, which illuminate only a circle in the center of the image. The AE gets confused by the black regions around it and overexposes the image. This also exposes the \"AutoExposureLightingMode\" parameter, which allows the user to choose a lighting preset (front/back/normal).

  • Fix/frame rate params (#20)

    • [spinnaker_camera_driver] Fixed naming of frame rate control params
    • [spinnaker_camera_driver] Format of mono and stereo launchfiles
    • [spinnaker_camera_driver] Updated diagnostics launchfile
  • Removed opencv as depend. (#46)

  • Changed the download script to check for destination folder and moved unpack directory. (#44)

  • Merge pull request #42 from civerachb-cpr/rpsw-185 Fix Flycap & Spinnaker endpoints

  • Create the directory if it doesn\'t exist

  • Remove an unnecessary deb

  • Spinnaker driver now successfully downloads & builds

  • Start overhauling the spinnaker download script so it works with the correct endpoint & matches the general structure of the pointgrey_camera_driver

  • Contributors: Adam Romlein, Chris I-B, Evan Bretl, Fabian Schilling, Ferdinand, Joseph Curtis, Luis Camero, Max Schwarz, Stephan, Tony Baltovski, Yoshua Nava, Yuki Furuta, luis-camero

0.2.5 (2023-01-06)

  • Fixed arm64 folder name.
  • Contributors: Tony Baltovski

0.2.4 (2023-01-06)

  • Fixed typo in arm64 arch.
  • Contributors: Tony Baltovski

0.2.3 (2022-04-19)

  • Only install necessary libraries
  • 0.2.2
  • Changes.
  • Added new-line at EOF
  • Spinnaker libraries are now all copied to usr/lib
  • Reordered definitions to prevent compiler warnings
  • 0.2.1
  • Changes.
  • Removed check for build/usr/lib which would cause build to skip Spinnaker SDK install
  • 0.2.0
  • Changes.
  • Changes.
  • Fixed all issues reported by roslint
  • Updated file paths to /opt/spinnaker instead of /usr/spinnaker
  • Updated download_spinnaker look-up table
  • Add readable check to SDK parameters
  • URDF Description, Diagnostics, ISP Enable, and Launch Files (#81)
    • Changes required to use GigE Blackfly S version
    • Added blackfly mesh
    • Added URDF of blackflys and CHANGELOG
    • Added new_line at end of flir_blackflys.urdf.xacro
    • Added DiagnosticAnalyzers and more detailed diagnostic messages
    • Added ISP enable and disable config and updated camera launch file to be more descriptive
    • Switched order of configuration to put ISP enable next to color encoding
    • Updated config to include enumeration for Off, Once, Continuous parameters, and udpated diagnostics.launch
    • Handled issue where no namespace prevents diagnostics_agg from loading from analyzer paramaters
  • Branch to Support GigE Cameras (#79)
    • Changes required to use GigE Blackfly S version
    • Update SpinnakerCamera.cpp
  • Add new parameter to apply an offset to image time stamps (#56)
  • Fixes SpinnakerCamera teardown (#16)
    • fixes error on destroying SpinnakerCamera with multiple cameras
    • adds clarifying comment
  • Add /opt/spinnaker to spinnaker discovery options (#63)
  • increase maximum value of exposure_time/auto_exposure_time_upper_limit (#55)
  • add option to set queue_size for ros publisher (#54)
  • Added support for Grasshopper3. Identical to Chameleon3, split into separate files for clarity. (#26)
  • Feature: horizontal and vertical image reverse (#41)

    • Add horizontal/vertical inverse to reconfigure cfg

    * Add ReverseX/ReverseY with setProperty Co-authored-by: Fabian Schilling <fabian.schilling@me.com>

  • Update Spinnaker.cfg (#50) Fix for correct spelling with capital letter for bool type

  • Add auto exposure ROI parameters (#52) * spinnaker_camera_driver: setProperty: report available enum values Only done on failure. This helps to figure out which enum values are available on a particular camera model. * spinnaker_camera_driver: expose AE ROI parameters This is highly useful when using fisheye lenses, which illuminate only a circle in the center of the image. The AE gets confused by the black regions around it and overexposes the image. This also exposes the \"AutoExposureLightingMode\" parameter, which allows the user to choose a lighting preset (front/back/normal).

  • Fix/frame rate params (#20)

    • [spinnaker_camera_driver] Fixed naming of frame rate control params
    • [spinnaker_camera_driver] Format of mono and stereo launchfiles
    • [spinnaker_camera_driver] Updated diagnostics launchfile
  • Removed opencv as depend. (#46)

  • Changed the download script to check for destination folder and moved unpack directory. (#44)

  • Create the directory if it doesn\'t exist

  • Remove an unnecessary deb

  • Spinnaker driver now successfully downloads & builds

  • Start overhauling the spinnaker download script so it works with the correct endpoint & matches the general structure of the pointgrey_camera_driver

  • Contributors: Adam Romlein, Chris I-B, Evan Bretl, Fabian Schilling, Ferdinand, Joseph Curtis, Luis Camero, Max Schwarz, Stephan, Tony Baltovski, Yoshua Nava, Yuki Furuta, luis-camero

0.1.3 (2018-09-25)

  • Fix install targets when Spinnaker is installed locally. Tabs in FindSpinnaker.
  • Add missing target (Cm3) and switch to find_package script. (#11)
    • Add missing target (Cm3) and switch to find_package script.
    • Clean up message.
  • Adding support of feeding some camera diagnostics to the diagnostic a... (#4)
    • Adding support of feeding some camera diagnostics to the diagnostic aggregator
    • Creating a seperate diagnostics launch example
  • Fix null conversion and unsigned comparison Warnings.
  • Contributors: Helen Oleynikova, Michael Hosmar, mlowe-ascent

0.1.2 (2018-07-27)

  • Add ARM Build Support (#3)
    • Added ARM Build Support.
  • Contributors: Michael Hosmar

0.1.1 (2018-07-25)

  • Add opencv3 as build dependency.
  • Contributors: Michael Hosmar

0.1.0 (2018-07-24)

  • Initial Release
  • Contributors: Michael Hosmar

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Launch files

  • launch/diagnostics.launch
    • Software License Agreement (BSD) \file camera.launch \authors Michael Hosmar \copyright Copyright (c) 2018, Clearpath Robotics, Inc., All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Clearpath Robotics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WAR- RANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, IN- DIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
      • camera_name [default: camera]
      • camera_serial [default: 0]
      • calibrated [default: 0]
      • device_type [default: USB3]
      • control_frame_rate [default: True]
      • frame_rate [default: 30]
      • isp_enable [default: False]
      • encoding [default: BayerRG8]
      • color_balance [default: Continuous]
  • launch/test_spinnaker.launch
    • Software License Agreement (BSD) \file test_spinnaker.launch \authors Michael Hosmar \copyright Copyright (c) 2018, Clearpath Robotics, Inc., All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Clearpath Robotics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WAR- RANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, IN- DIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  • launch/camera.launch
    • Software License Agreement (BSD) \file camera.launch \authors Michael Hosmar \copyright Copyright (c) 2018, Clearpath Robotics, Inc., All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Clearpath Robotics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WAR- RANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, IN- DIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
      • camera_name [default: camera]
      • camera_serial [default: 0]
      • calibrated [default: 0]
      • device_type [default: USB3]
      • control_frame_rate [default: True]
      • frame_rate [default: 30]
      • isp_enable [default: False]
      • encoding [default: BayerRG8]
      • color_balance [default: Continuous]
  • launch/stereo.launch
    • Software License Agreement (BSD) \file stereo.launch \authors Michael Hosmar \copyright Copyright (c) 2018, Clearpath Robotics, Inc., All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Clearpath Robotics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WAR- RANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, IN- DIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
      • camera_name [default: stereo]
      • control_frame_rate [default: true]
      • frame_rate [default: 15]
      • left_camera_serial [default: 15085987]
      • left_camera_calibrated [default: 0]
      • right_camera_serial [default: 15085990]
      • right_camera_calibrated [default: 0]
      • run_stereo_image_proc [default: false]

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged spinnaker_camera_driver at answers.ros.org

Package Summary

Tags No category tags.
Version 0.1.4
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ros-drivers/flir_camera_driver.git
VCS Type git
VCS Version kinetic-devel
Last Updated 2022-11-22
Dev Status MAINTAINED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Spinnaker camera driver based on Spinnaker.

Additional Links

Maintainers

  • Mike Hosmar

Authors

  • Chad Rockey
README
No README found. See repository README.
CHANGELOG

Changelog for package spinnaker_camera_driver

0.1.4 (2022-11-22)

  • URDF Description, Diagnostics, ISP Enable, and Launch Files (#81)
    • Changes required to use GigE Blackfly S version
    • Added blackfly mesh
    • Added URDF of blackflys and CHANGELOG
    • Added new_line at end of flir_blackflys.urdf.xacro
    • Added DiagnosticAnalyzers and more detailed diagnostic messages
    • Added ISP enable and disable config and updated camera launch file to be more descriptive
    • Switched order of configuration to put ISP enable next to color encoding
    • Updated config to include enumeration for Off, Once, Continuous parameters, and udpated diagnostics.launch
    • Handled issue where no namespace prevents diagnostics_agg from loading from analyzer paramaters
  • Branch to Support GigE Cameras (#79)
    • Changes required to use GigE Blackfly S version
    • Update SpinnakerCamera.cpp
  • Add new parameter to apply an offset to image time stamps (#56)
  • Fixes SpinnakerCamera teardown (#16)
    • fixes error on destroying SpinnakerCamera with multiple cameras
    • adds clarifying comment
  • Add /opt/spinnaker to spinnaker discovery options (#63)
  • increase maximum value of exposure_time/auto_exposure_time_upper_limit (#55)
  • add option to set queue_size for ros publisher (#54)
  • Added support for Grasshopper3. Identical to Chameleon3, split into separate files for clarity. (#26)
  • Feature: horizontal and vertical image reverse (#41)

    • Add horizontal/vertical inverse to reconfigure cfg

    * Add ReverseX/ReverseY with setProperty Co-authored-by: Fabian Schilling <fabian.schilling@me.com>

  • Update Spinnaker.cfg (#50) Fix for correct spelling with capital letter for bool type

  • Add auto exposure ROI parameters (#52) * spinnaker_camera_driver: setProperty: report available enum values Only done on failure. This helps to figure out which enum values are available on a particular camera model. * spinnaker_camera_driver: expose AE ROI parameters This is highly useful when using fisheye lenses, which illuminate only a circle in the center of the image. The AE gets confused by the black regions around it and overexposes the image. This also exposes the \"AutoExposureLightingMode\" parameter, which allows the user to choose a lighting preset (front/back/normal).

  • Fix/frame rate params (#20)

    • [spinnaker_camera_driver] Fixed naming of frame rate control params
    • [spinnaker_camera_driver] Format of mono and stereo launchfiles
    • [spinnaker_camera_driver] Updated diagnostics launchfile
  • Removed opencv as depend. (#46)

  • Changed the download script to check for destination folder and moved unpack directory. (#44)

  • Create the directory if it doesn\'t exist

  • Remove an unnecessary deb

  • Spinnaker driver now successfully downloads & builds

  • Start overhauling the spinnaker download script so it works with the correct endpoint & matches the general structure of the pointgrey_camera_driver

  • Contributors: Adam Romlein, Chris I-B, Evan Bretl, Fabian Schilling, Ferdinand, Joseph Curtis, Max Schwarz, Stephan, Tony Baltovski, Yoshua Nava, Yuki Furuta, luis-camero

0.1.3 (2018-09-25)

  • Fix install targets when Spinnaker is installed locally. Tabs in FindSpinnaker.
  • Add missing target (Cm3) and switch to find_package script. (#11)
    • Add missing target (Cm3) and switch to find_package script.
    • Clean up message.
  • Adding support of feeding some camera diagnostics to the diagnostic a... (#4)
    • Adding support of feeding some camera diagnostics to the diagnostic aggregator
    • Creating a seperate diagnostics launch example
  • Fix null conversion and unsigned comparison Warnings.
  • Contributors: Helen Oleynikova, Michael Hosmar, mlowe-ascent

0.1.2 (2018-07-27)

  • Add ARM Build Support (#3)
    • Added ARM Build Support.
  • Contributors: Michael Hosmar

0.1.1 (2018-07-25)

  • Add opencv3 as build dependency.
  • Contributors: Michael Hosmar

0.1.0 (2018-07-24)

  • Initial Release
  • Contributors: Michael Hosmar

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Launch files

  • launch/diagnostics.launch
    • Software License Agreement (BSD) \file camera.launch \authors Michael Hosmar \copyright Copyright (c) 2018, Clearpath Robotics, Inc., All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Clearpath Robotics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WAR- RANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, IN- DIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
      • camera_name [default: camera]
      • camera_serial [default: 0]
      • calibrated [default: 0]
      • device_type [default: USB3]
      • control_frame_rate [default: True]
      • frame_rate [default: 30]
      • isp_enable [default: False]
      • encoding [default: BayerRG8]
      • color_balance [default: Continuous]
  • launch/test_spinnaker.launch
    • Software License Agreement (BSD) \file test_spinnaker.launch \authors Michael Hosmar \copyright Copyright (c) 2018, Clearpath Robotics, Inc., All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Clearpath Robotics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WAR- RANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, IN- DIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  • launch/camera.launch
    • Software License Agreement (BSD) \file camera.launch \authors Michael Hosmar \copyright Copyright (c) 2018, Clearpath Robotics, Inc., All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Clearpath Robotics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WAR- RANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, IN- DIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
      • camera_name [default: camera]
      • camera_serial [default: 0]
      • calibrated [default: 0]
      • device_type [default: USB3]
      • control_frame_rate [default: True]
      • frame_rate [default: 30]
      • isp_enable [default: False]
      • encoding [default: BayerRG8]
      • color_balance [default: Continuous]
  • launch/stereo.launch
    • Software License Agreement (BSD) \file stereo.launch \authors Michael Hosmar \copyright Copyright (c) 2018, Clearpath Robotics, Inc., All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Clearpath Robotics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WAR- RANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, IN- DIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
      • camera_name [default: stereo]
      • control_frame_rate [default: true]
      • frame_rate [default: 15]
      • left_camera_serial [default: 15085987]
      • left_camera_calibrated [default: 0]
      • right_camera_serial [default: 15085990]
      • right_camera_calibrated [default: 0]
      • run_stereo_image_proc [default: false]

Messages

No message files found.

Services

No service files found

Plugins

Recent questions tagged spinnaker_camera_driver at answers.ros.org