Hello,
I am just starting out with Astra Pro and AstraSDK 2.0.8, and I am trying to get the SimpleBodyViewer-SFML example from the SDKwork, with Astra Pro device on UBuntu 17.10.
(The other example, SimpleStreamViewer-SFML seems to be working fine, I get the visual when running it.)
However, with SimpleBodyViewer-SFML, I get a black screen only, and the on_frame_ready() never gets called.
I traced the issue down to this line of code:
reader.streamastra::BodyStream().start();
If I comment it out, I do get the on_frame_ready() calls, and the visual appearing on the screen β however, then, this call returns null (as the BodyStream is not started):
const auto& bodies = bodyFrame.bodies();
Finally, I get some messages in the terminal when starting the example - I am wondering if they may have to do anything with the problem:
ββ¦
Warning: USB events thread - failed to set priority. This might cause loss of dataβ¦
unsupported descriptor subtype VS_COLORFORMAT
unsupported descriptor subtype VS_COLORFORMAT
attempt to claim already-claimed interface 1
β¦β
However, I do get the same messages with SimpleStreamViewer-SFML example as well, and it seems to be working fine.
Any suggestions would be very welcome β thank you for your help!