Skip to content

Wrapper nodejs PointCloud.mapTo issue #6223

@yohanb78

Description

@yohanb78

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions