View my account

Question about Issue #4487 (GitHub)


1 comment

  • Alexandra Ciuriuc

    Hello Eduardmraz2,


    Thank you for your interest in the Intel RealSense T265 camera.

    If you want to initialize the pipeline object before calling query_devices, you must pass the context object to the pipeline constructor as shown below. This is true only for the T265. The D400 series do not require this.

     rs2::context ctx;
     rs2::pipeline pipe(ctx);

     std::cout << "hello from librealsense - " << RS2_API_VERSION_STR << std::endl;
     std::cout << "You have " << ctx.query_devices().size() << " RealSense devices connected" << std::endl;




    Comment actions Permalink

Please sign in to leave a comment.