Code Monkey home page Code Monkey logo

Comments (10)

ddiakopoulos avatar ddiakopoulos commented on May 18, 2024

In one of the Visual Studio menus there is a window where you can enable breakpoints on C++ exceptions. Can you turn that on and report back? It will give you the exact location of the runtime_error. Also, the console output in most (all?) examples should catch the runtime error and print a helpful message.

from librealsense.

glang avatar glang commented on May 18, 2024

I enabled breakpoints for thrown exceptions and ran the multicam program again. Here is the first thing that pops up: screenshot

Is there anything in particular that you would like to see?

from librealsense.

ddiakopoulos avatar ddiakopoulos commented on May 18, 2024

Our bad. If you look at this line https://github.com/IntelRealSense/librealsense/blob/master/examples/cpp-multicam.cpp#l31, we accidentally left a hardcoded streaming mode that only works for the R200 camera. Just replace the lines with the commented versions and it should work, and we'll fix it up in the actual example Monday!

from librealsense.

glang avatar glang commented on May 18, 2024

I see! Thanks!

On a unrelated note, I got an email from SFVR saying that you'll be giving a talk at their next event! I'm a huge VR enthusiast and was wondering if you know any good resources for learning how to integrate the RealSense cameras with VR headsets?

from librealsense.

ddiakopoulos avatar ddiakopoulos commented on May 18, 2024

Come to the event to find out!

from librealsense.

glang avatar glang commented on May 18, 2024

I would! But I'm an undergrad attending a university that's a few hours away, unfortunately :/

from librealsense.

glang avatar glang commented on May 18, 2024

Hey @ddiakopoulos , so there is no longer an error for when cameras are connected. However, an runtime exception is still thrown when there are no cameras connected. Just thought I should let you guys know that.

from librealsense.

ddiakopoulos avatar ddiakopoulos commented on May 18, 2024

@glang -- maybe I'll type up a blog post about it after the event!

On your second note, librealsense can and will throw exceptions as an error handling mechanism. It is by design that the examples will throw when there are no connected cameras.

from librealsense.

glang avatar glang commented on May 18, 2024

@ddiakopoulos That would be awesome! And thanks for fixing the camera issue!

from librealsense.

glang avatar glang commented on May 18, 2024

@ddiakopoulos Now that's the SFVR event is over, would you be able to share what you presented? I'm really curious!

from librealsense.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.