Skip to content
This repository has been archived by the owner on Jun 6, 2019. It is now read-only.

ppa-installed binaries are not compatible with most recent internal realsense_samples repo, what's our strategy? #52

Closed
haoyunfeix opened this issue Feb 24, 2017 · 0 comments

Comments

@haoyunfeix
Copy link
Contributor

It's not possible to completely follow native realsense_samples to write Node.js add-on due the the inconsistent version issue (rolling back to earlier version might hit bugs that they have already addressed).

I believe we need to work out a strategy: e.g. stick with a working impl for pre-alpha, and then migrate to a consistent version (say RC1) in the future?

e.g. compilation error as following:

object_recognition_utils.hpp:227:79: error: ‘struct rs::core::video_module_interface::supported_image_stream_config’ has no member named ‘size’
             if(supported_config.image_streams_configs[(int)rs::stream::color].size.width == 640

The installed RSSDK version is

#define SDK_VERSION_STRING static volatile char version_id[] = "VERSION: 0.2.10.0";

The definition in video_module_control_interface.h of that version is:

            struct supported_image_stream_config
            {
                sizeI32        min_size;           /* minimum size */
                sizeI32        ideal_size;         /* maximum size */
                float          minimal_frame_rate; /* minimal operetional frame rate */
                float          ideal_frame_rate;   /* frame rate for ideal operation */
                sample_flags   flags;              /* optional samples flags */
                preset_type    preset;             /* stream preset */
                bool           is_enabled;         /* is the indexed stream is enabled, defaults to 0 = false */
            };

halton:
the beta3 script is now using SDK version as 0.4.0. Is this issue still valid? BTW, the internal APT server is broken now #51 is tracking on this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants