Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrapper nodejs PointCloud.mapTo issue #6223

Closed
yohanb78 opened this issue Apr 10, 2020 · 1 comment
Closed

Wrapper nodejs PointCloud.mapTo issue #6223

yohanb78 opened this issue Apr 10, 2020 · 1 comment

Comments

@yohanb78
Copy link

yohanb78 commented Apr 10, 2020

Hello,

Required Info  
Camera Model D435
Firmware Version 05.12.03.00
Operating System & Version Win (10)
Platform PC
SDK Version 2.33.1
Language NodeJS

I'm trying to code the same program I made in c++ but this time with javascript

I encounter the same issue with the the version 2.33.1. Notice that this problem is not happening with the old version inside the package npm node-librealsense (sdk 2.19.x I believe)

The function mapTo "is working" when I put in comment the lines from 2969 to 2977 of the file /src/addon.cpp

/*
    StreamProfileExtrator extrator(profile);
    CallNativeFunc(rs2_set_option, &me->error_,
        reinterpret_cast<rs2_options*>(me->processing_block_),
        RS2_OPTION_TEXTURE_SOURCE,
        static_cast<float>(extrator.unique_id_),
        &me->error_);
    if (extrator.stream_ == RS2_STREAM_DEPTH) return;
*/

But, no color mapping is applied whatever it 's the last or very old sdk version, this function may have an importance with that.

Thank you

Originally posted by @yohanb78 in #5057 (comment)

code.js.txt
ply_results
partof.cpp.txt

@RealSenseSupport
Copy link
Collaborator

Hi,

Will you be needing further help with this? If we don’t hear from you in 7 days, this issue will be closed.

Thanks

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

No branches or pull requests

2 participants