I'm using Astra camera in standard version. I'm trying to modify the SimpleColorViewer-SFML example to run in 1280x960 resolution without success. Acording to specification http://shop-orbbec3d-com.3dcartstores.com/Orbbec-Astra_p_12.html in this resolution the camera should provide 7 FPS. So I tried this:
auto colorStream = reader.stream<astra::ColorStream>();
But the stream was still set to VGA 640x480 resolution acording to
astra::ColorFrame width and height. So I experimented a little bit with the settings and found out that
colorMode.set_fps(30) set the astra color stream into correct resolution but the frame is broken (see attached picture). The SFML window is set to correct 1280x960 resolution.
Can you please provide a working example with astra set to 1280x960 resolution?