Code Monkey home page Code Monkey logo

Comments (6)

nickw1 avatar nickw1 commented on June 27, 2024

Hi @freakfs glad you are interested!

The project will not do a lot just yet, besides print out the position of any tracked points.

In terms of my progress, there is still an unaligned memory access error I need to diagnose. However the main issue for the moment is that I am having some problems initialising the tracking on my device (even with custom camera parameters which I obtained with a calibration tool). Need to work on this but have had little time recently. Did you manage to get tracking started?

There's some info about Emscripten debugging here: https://emscripten.org/docs/porting/Debugging.html

from orb-slam-expts.

freakfs avatar freakfs commented on June 27, 2024

I try to run in debug mode. At present, I can output some information

However, running more times will cause the browser to get stuck, which may be related to "pthread"

Like this:
image

from orb-slam-expts.

freakfs avatar freakfs commented on June 27, 2024

@nickw1 sorry i may have wasted your time
Can you provide the parameters of your EMCC instruction
For example, emcc xxx xxxx.a -I xxx?

I have linked many static libraries, but have been unable to debug. Now I can only debug after packaging

from orb-slam-expts.

nickw1 avatar nickw1 commented on June 27, 2024

@freakfs did you build with the cmake file provided?

That includes all the options, libraries, etc.

emcmake cmake .
emmake make

That "blocking on the main thread" doesn't actually seem to cause any problems for me, at least not yet. It's using the pthread provision of Emscripten.

from orb-slam-expts.

freakfs avatar freakfs commented on June 27, 2024

@freakfs did you build with the cmake file provided?

That includes all the options, libraries, etc.

emcmake cmake .
emmake make

That "blocking on the main thread" doesn't actually seem to cause any problems for me, at least not yet. It's using the pthread provision of Emscripten.

@nickw1
Yes.with
emcmake cmake . -DCMAKE_BUILD_TYPE=DEBUG emmake make -j

but Emmake again after each change
so i need the parameters of your EMCC instruction

from orb-slam-expts.

nickw1 avatar nickw1 commented on June 27, 2024

@freakfs these are all detailed in the CMakeLists.txt, look for the add_compile_options() and add_link_options() lines.

from orb-slam-expts.

Related Issues (4)

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.