bonsai-rx / spinnaker

A Bonsai library for interfacing with FLIR cameras using the Spinnaker SDK
Other
2 stars 4 forks source link

Spinnaker ChunkData -> Timestamp has incorrect type #2

Open glopesdev opened 4 years ago

glopesdev commented 4 years ago

Original report by Anonymous.


The type of the Spinnaker API ChunkData.Timestamp is returning a signed integer but should be an unsigned integer.

https://bitbucket.org/horizongir/bonsai.spinnaker/src/default/

Expected result: When you externalise the ChunkData.Timestamp and write it to a CSV via the CsvWriter, it should be an unsigned long integer.

Actual result: CsvWriter outputs a signed integer.

glopesdev commented 3 years ago

Unfortunately this is an issue with the Spinnaker SDK API itself, as their ManagedChunkData type declares this property to be of long type. A possible workaround would be to cast this to ulong using an ExpressionTransform node.

Probably we could also raise the issue with their team directly.