Comments (5)
After a quick look into the source code, it looks like at least basler, spinnaker (current SSL cams) and dc1394 (firewire) all do the same:
timeval tv{};
gettimeofday(&tv, nullptr);
result.setTime((double)tv.tv_sec + tv.tv_usec*(1.0E-6));
For Spinnaker, there is a timestamp available, but it would need to be synchronized manually to real clock, because ssl-vision is using unix timestamps and assumes synchronized system clocks among all vision computers.
from ssl-vision.
One difference that I see is, the basler capture module retrieves the timestamp before the image, the other two modules retrieve the timestamp afterwards, which sounds more reasonable to me.
from ssl-vision.
Yeah you're right. As far as I can tell from Pylon's documentation it should also be possible to set a frame limit and get the actual capture time from the Camera's System Clock (atleast for the model that we use), but then we may need to synchronize that with the time of the computer running ssl-vision again.
from ssl-vision.
I investigated it, but the moment at which the timestamp is set gives an insignificant error. The difference between getting the timestamp before and after the image is approximately ~10^-5 seconds, which is negligible.
from ssl-vision.
closed by #177
from ssl-vision.
Related Issues (20)
- Support for FLIR Blackfly via Spinnaker SDK
- Read raw images from files
- Remove ifdefs for VDATA_NO_QT - QT is always required HOT 1
- Allow measuring processing times
- Add support for negative distortion during automatic calibration HOT 2
- Basler camera timing integer division HOT 2
- QGtkStyle could not resolve GTK on ubuntu 19 HOT 2
- Tangential Distortion / More Radial Distortion coefficients HOT 8
- Assumed ball height not being sent in ball plugin HOT 6
- Video Widget does not reattach after detaching to a new window/fullscreen HOT 1
- opencv_imgcodecs is required but was not found HOT 2
- Change Spelling of SSL_FieldCicularArc to SSL_FieldCircularArc in messages_robocup_ssl_geometry.proto HOT 1
- No Thresholding Results After YUV Calibration HOT 8
- Add Camera Image size to calibration information HOT 7
- Ball near robot filters filters away chipped balls HOT 1
- qt4 support / CircleCI HOT 2
- build fails with -DUSE_DC1394=false when libdc1394 is not installed HOT 3
- YUV calibration HOT 1
- Basler: Fix compilation HOT 1
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 ssl-vision.