Coder Social home page Coder Social logo

Comments (12)

taketwo avatar taketwo commented on July 29, 2024

Hi, thanks for reporting. The project configures and builds for me on 64-bit Windows 8 machine. I will try to to do the same on 32-bit virtual machine, perhaps could catch this bug and nail it down. Unfortunately I'm busy until Tuesday, will let you know about my results afterwards.

from rs.

sebandraos avatar sebandraos commented on July 29, 2024

Thanks Sergey,
I'm on a 64-bit 8.1 machine, it's just that the RSSDK is under Program Files (x86) with the 64-bit libs by default (assuming that's where 32-bit came from). I'm not familiar with CMake builds so I'm not sure whether I've made things worse in the long run but I've now managed to get this to build by switching the order of FindRSSDK.cmake #Libraries. It seems like the cmake is using RSSDK_LIBRARY and RSSDK_LIBRARY_DEBUG before it's tried to find them. Again I'm not sure if cmake should work in the order it was in originally but mine started working just by moving the first line under #Libraries (set(RSSDK_LIBRARIES optimized...)) to the end (just before #Version). If this a legitimate solution I can commit the edit if you'd like.
(I now have issues with locating procedure entry points to PCLBase but that's almost certainly on my end and I'll try and figure it out)

from rs.

taketwo avatar taketwo commented on July 29, 2024

Sorry for the delay. You correctly identified the problem and the fix. In fact, the order of set and find instructions was like that before, but then I accidentally shifted the line in 5a2015b. Apparently, I never cleaned CMake cache after that, so did not run into problems. Thanks for bringing this up!

from rs.

sebandraos avatar sebandraos commented on July 29, 2024

Cool, glad to know it wasn't a fluke. Just for general feedback/testing purposes as well, I've been messing with this really quite a lot over the past week or two and, other than the memory leak with coloured clouds that you mentioned somewhere, it is really stable and I'm getting 30+fps running on the cpu. Thanks

from rs.

taketwo avatar taketwo commented on July 29, 2024

Thanks for the feedback, great to hear that!

Did you try enabling temporal filtering (median)? The relevant code (lines 226 through 231) is currently commented out in "real_sense_viewer.cpp". Before, I experienced some weird freezes when switching from median filtering to the next option using "k" key. These freezes happen inside the destructor of one of std::vectors that belong to the median filter buffer. Strangely enough, currently I do not experience them anymore, though I don't think I changed anything. Would be interesting to know how it works on your machine.

from rs.

sebandraos avatar sebandraos commented on July 29, 2024

Yeah, it stalls for between half a second and 1 second and then runs absolutely fine. There is something particularly odd happening during those freezes actually, my camera seems to turn off (or at least the IR and LEDs turn off)

from rs.

taketwo avatar taketwo commented on July 29, 2024

Hmm, ok, at least it does not freeze to death like it used to before.

from rs.

sebandraos avatar sebandraos commented on July 29, 2024

Definitely not

from rs.

taketwo avatar taketwo commented on July 29, 2024

BTW, I've just downloaded a new version of DCM (1.3) from Intel's website. I did some testing and it seems like the memory does not leak anymore!

from rs.

sebandraos avatar sebandraos commented on July 29, 2024

As if by magic. I'm definitely not experiencing any memory leaks any more. Thanks for the heads up

from rs.

sebandraos avatar sebandraos commented on July 29, 2024

Just tested latest SDK (r3_v5.0.3.187777) and it seems like everything is still stable. Possibly a slight speed increase but impossible to say for sure, temporal filter still flickers between switches, other than that no perceptible changes.

from rs.

taketwo avatar taketwo commented on July 29, 2024

Thanks for reporting!

from rs.

Related Issues (16)

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.