View my account

Resetting Cache, Realsense-Viewer

Comments

1 comment

  • MartyG

    Hi Liam Neric  When the realsense-viewer program is launched whilst a camera is attached, it should attempt to detect the first camera that it can find and display its details and controls automatically in the options side-panel. 

     

    An equivalent function in pyrealsense2 for finding the first camera that can be detected would be get_device().first_depth_sensor(). For example:

    profile = pipeline.start() 
    depth_sensor = profile.get_device().first_depth_sensor()

     

    Alternatively, you could try resetting the camera automatically when a script is run with the hardware_reset() instruction.  The link below has code for doing so in C++ and pyrealsense2.

    https://github.com/IntelRealSense/librealsense/issues/3329#issuecomment-475293475

    0
    Comment actions Permalink

Please sign in to leave a comment.