Comments (9)
A personal view on this: I think the soft triggering methodology creates some sort of overhead.
The Acquisition.cpp from FLIR achieves on a GigE Blackfly-S 35Hz in color mode on an i7 Intel NUC (Ubuntu 18, Spinnaker SDK 2.0.0.48). I added the image conversion and ROS publishing and rate reduces to 32Hz. If I use this package with same camera settings, best rate I could get was 18Hz. Exposure time@5000us.
For users who want high rates you can also have a look at the FLIR SDK, convert the image with padding and publish to ros with cv_bridge/image_transport. Not all packages can be super-efficient at all configs. This package is definitely a life-saver w.r.t. master triggering though.
With thanks to the authors.
from spinnaker_sdk_camera_driver.
Attaching a callgrind trace: callgrind.listener.19483.zip
from spinnaker_sdk_camera_driver.
@rgov one issue i have often seen is when the actual exposure time is longer than required for frame rate. You can quickly test by setting the exposure to something like 2000 us.
Additionally try lowering the required datarate by reducing resolution by setting binning to 2 and the color to grayscale. This will help understand where the latency comes from.
from spinnaker_sdk_camera_driver.
With exposure_time
set to 2000 (µs, seems undocumented?) I get a modest increase, to 12.4 FPS. But the Spinnaker Acquisition.cpp
demo does not set exposure time and seems to get 20 FPS.
from spinnaker_sdk_camera_driver.
@rgov this could be due to the overhead associated with ROS's camera transport. 5MP is quite a bit of data for serializing / deserializing. Do you get any improvement with grayscale (1/3 reduction in data) and setting binning to 2 (1/4 reduction in data) ?
from spinnaker_sdk_camera_driver.
Also, we have seen issues with newer version of spinnaker, can you try with spinnaker 2.2.0.48
from spinnaker_sdk_camera_driver.
@rgov any updates on your issue?
from spinnaker_sdk_camera_driver.
It is not resolved yet but I have been working on other parts of my system. I'd like to get to the bottom of it.
from spinnaker_sdk_camera_driver.
@nevangeliouNYUAD There is also another existing ROS driver https://github.com/ros-drivers/flir_camera_driver which might work better for some.
from spinnaker_sdk_camera_driver.
Related Issues (20)
- Cannot launch node as normal user, but can launch as root HOT 5
- Unable to execute trigger. Aborting... HOT 5
- Cannot launch node of type [spinnaker_sdk_camera_driver/acquisition_node] HOT 2
- First frame ID was not zero./Error: Spinnaker: GenIcam::OutofRangeException = Value = 1 must be equal or greater than 2 HOT 12
- ASSERTION FAILED Error while launch HOT 22
- Image incomplete with image status 9.
- Jetson AGX Xavier - Unable to capture synchronised shutter using master configuration HOT 1
- Software triggering of BFS camera's using timestamp value HOT 2
- Share pip wheels for spinnaker SDK 2.2.0.48
- Where to find trigger_msgs package? HOT 3
- Jetson Xavier turns off when using two cameras (in external triggering mode)
- Unable to set PixelFormat to BGR8 HOT 1
- Failed waiting for EventData on NEW_BUFFER_DATA event. [-1011]
- Failed to load nodelet '/acquisition_node`
- Failing to Launch node in docker container HOT 2
- Cannot Trigger Flir Blackflys USB3 Cameras since transger to noetic driver
- Failed to load nodelet '/acquisition_node` of type `acquisition/Capture` to manager `vision_nodelet_manager'
- Recording actual timestamp value at which image captured
- catkin_make fails due to opencv error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spinnaker_sdk_camera_driver.