Closed IanButterworth closed 5 years ago
It looks like this broke in https://github.com/samuelpowell/Spinnaker.jl/commit/0f032fcb028113462b6ea5a328855a29050b12d8
Hmmmm okay will look into it
I've not got any further with this. You got any hunches?
@ianshmean I cannot reproduce:
julia> camlist = CameraList()
CameraList with 1 enumerated devices:
ID Serial No. Description
0 XXXXXXXX FLIR Blackfly S BFS-U3-16S2M
Are you definitely using the latest released version of Spinnaker.jl, or master?
@ianshmean what happens if you try using examples/enumeration.jl
, this script only uses the low level Spinnaker library calls and is essentially a implementation of the C level enumeration demonstration.
examples/wrapper/enumeration.jl
gives:
julia> include(joinpath(dirname(pathof(Spinnaker)),"..","examples/wrapper/enumeration.jl"))
[ Info: Spinnaker library version: 1.20.0, build 14
[ Info: Discovered 3 interfaces
[ Info: Discovered 1 cameras
[ Info: GEV Interface 0
[ Info: No cameras detected
[ Info: GEV Interface 1
[ Info: No cameras detected
[ Info: USB Interface 0
[ Info: Point Grey Research
[ Info: Grasshopper3 GS3-U3-32S4M
Okay I'll try and see what's different between the two...
For reference, rolling back to https://github.com/samuelpowell/Spinnaker.jl/commit/7585748e3d87b08ec435f4a54f9786f662444176 works and gives:
julia> CameraList()
CameraList with 1 enumerated devices:
ID Serial No. Description
0 17198xxx Point Grey Research Grasshopper3 GS3-U3-32S4M
@ianshmean what happens if get your camera and do:
get(SpinEnumNode(cam, "ChunkSelector"))
@samuelpowell I think you're in the right area.. my camera doesn't seem to support the Timestamp
chunk, and maybe has renamed FrameID
?
https://github.com/samuelpowell/Spinnaker.jl/blob/71dcd901c63addc7871377162ee0c335241e41d8/src/Camera.jl#L40-L43
From https://www.ptgrey.com/support/downloads/10125/ page 158:
Yes.... try PR #27
Great.
julia> camlist = CameraList()
CameraList with 1 enumerated devices:
ID Serial No. Description
┌ Warning: Unable to enable FrameID chunk, image metadata may be incorrect
└ @ Spinnaker ~/.julia/packages/Spinnaker/nGAnR/src/Camera.jl:45
0 17198035 Point Grey Research Grasshopper3 GS3-U3-32S4M
It's not very helpful that they've got multiple names for the frame counter. Perhaps a try with alternatives approach??
I will open an issue to fix it, PR welcome. Timestamp not critical but frame ID useful.
Oddly I'm not getting an error for Timestamp.. perhaps it's a hidden chunk option
Partial fix in #27, pending resolution in #28
I'm getting this on master on ubuntu 18.04.
The camera that's attached (grasshopper 3) can be detected by spinview
Also