Code Monkey home page Code Monkey logo

Comments (9)

Triuman avatar Triuman commented on August 27, 2024 1

Yeah but I could not find a C port. I understand C# better than Java. So I will see if I can port the necessary functions to C from C#.

from trilateration.

MGasztold avatar MGasztold commented on August 27, 2024 1

Hello,

I am also actively looking for C/C++ implementation of multilateration using Levenberg–Marquardt algorithm. This project in java works really great!

Thank you for pointing the alglib option.

I also tried multilateration approach built in into IT++ library but it is super straightforward and does not handle the noise at all.

If anybody comes across full C++ implementation I would appreciate it a lot if he notifies us here. Thank you :)

from trilateration.

bartfer avatar bartfer commented on August 27, 2024 1

Hello,

I am also actively looking for C/C++ implementation of multilateration using Levenberg–Marquardt algorithm. This project in java works really great!

Thank you for pointing the alglib option.

I also tried multilateration approach built in into IT++ library but it is super straightforward and does not handle the noise at all.

If anybody comes across full C++ implementation I would appreciate it a lot if he notifies us here. Thank you :)

Hi!

I agree that this project works great and also searched for c++ equivalent unfortunately couldn't find one. Did you manage to find any?
I've been exeperimenting with google's ceres-solver and eigen's LM library but the pieces are just not falling in the right place. For some inputs I get good results, almost to all the tests in this lib, but for real life data I'm having issues and this java lib has very good results. I understand how it works so now I will have to understand the c++ part as well in order to port but it's more different how you use it.

from trilateration.

bartfer avatar bartfer commented on August 27, 2024 1

Not quite the same, but here's a trilateration solver in C++

https://github.com/Wayne82/Trilateration

If compiling for Arduino you'll need these too:

Eigen C++ - http://eigen.tuxfamily.org/index.php?title=Main_Page

StandardCplusplus - https://github.com/maniacbug/StandardCplusplus

Oh yes I saw this, but it is just simply the linear solution which is not good enough.
Thanks for the reply though!

from trilateration.

lemmingapex avatar lemmingapex commented on August 27, 2024

This trilateration library only depends on apache commons math. If you find a port of apache commons math: https://github.com/Fylax/Apache-Commons-Math3-C- then it should easy to translate this library into c. Make sense?

from trilateration.

lemmingapex avatar lemmingapex commented on August 27, 2024

Ha! Sorry, I didn't look closely at that Fylax library. Didn't realize it was C#. I see your issue now.

My 50 seconds of googling didn't turn much up for a apache commons math c port. The Levenberg–Marquardt algorithm is the key algorithm trilateration utilizes. Is there a library that has an implementation of LMA that might work for you?

http://www.alglib.net/optimization/levenbergmarquardt.php

from trilateration.

Triuman avatar Triuman commented on August 27, 2024

Ok I will dig into that. Thank you.

from trilateration.

xixilight avatar xixilight commented on August 27, 2024

Ok I will dig into that. Thank you.

hello,do you do it with c port? I am also use this in C.

from trilateration.

bleckers avatar bleckers commented on August 27, 2024

Not quite the same, but here's a trilateration solver in C++

https://github.com/Wayne82/Trilateration

If compiling for Arduino you'll need these too:

Eigen C++ - http://eigen.tuxfamily.org/index.php?title=Main_Page

StandardCplusplus - https://github.com/maniacbug/StandardCplusplus

from trilateration.

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.