nfu-irs-lab / robotic-arm-sdk-vision

📷 The vision functions for RASDK
1 stars 4 forks source link

研究Intel D455 3D深度攝影機 #6

Open ziteh opened 2 years ago

ziteh commented 2 years ago

librealsense/wrappers/csharp at development · IntelRealSense/librealsense

ziteh commented 2 years ago
ziteh commented 2 years ago

[librealsense/cookbook.md at master · IntelRealSense/librealsense](https://github.com/IntelRealSense/librealsense/blob/master/wrappers/csharp/Documentation/cookbook.md)

ziteh commented 2 years ago

T265 C# : Frame didn't arrive within 5000 problem · Issue #8160 · IntelRealSense/librealsense

ziteh commented 2 years ago
using Intel.RealSense;

var pipe = new Pipeline();
pipe.Start();

while (true)
{
    using (var frames = pipe.WaitForFrames())
    {
        using (var depth = frames.DepthFrame.DisposeWith(frames))
        {
            Console.WriteLine("The camera is pointing at an object " +
                depth.GetDistance(depth.Width / 2, depth.Height / 2) + " meters away\t");

            Console.SetCursorPosition(0, 0);
        }
    }
}

System.Exception: 'Frame didn't arrive within 5000'
ExternalException: rs2_pipeline_wait_for_frames(pipe:00000242BA59C8C0) at: using (var frames = pipe.WaitForFrames())

ziteh commented 2 years ago

Intel RealSense D400 Comparison + SDK 2.0 & Wrappers

ziteh commented 2 years ago

Python