I bought “Astra S”, I’m very interested in 1280x1024 depth resolution specification. There are some example with this depth resolution pre-configurated? or how can I config it in some example?
auto colorStream = reader.stream<astra::ColorStream>();
astra::ImageStreamMode colorMode;
colorMode.set_width(1280);
colorMode.set_height(1024);
colorMode.set_pixel_format(astra_pixel_formats::ASTRA_PIXEL_FORMAT_RGB888);
colorMode.set_fps(30); //NOTE: for now you need to set 30 fps but it will only produce 5 fps.
colorStream.set_mode(colorMode);
I modified the depth and color stream initialization in SimpleStreamViewer-SFML sample code. I have tried the code with Astra and Astra Mini S (shipped 2018). The depth stream works fine but successive color stream frames seem to be shifting up: