Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Least Squares Solver for NetDuino Plus 2 Micro Framework


  • Please log in to reply
1 reply to this topic

#1 Homey

Homey

    Advanced Member

  • Members
  • PipPipPip
  • 53 posts

Posted 29 October 2013 - 07:15 PM

I have an application where I want to use a NetDuino Plus 2 as the main CPU in a Trilateration system.  That is, it gets ranging information from multiple locations and then needs to take that information and Solve for a position in the world.  Similar to how GPS works but the data does not come from GPS satellites.

 

I have written a couple of solvers in .NET 3.5 / 4.0 (Gauss-Newton, Levenberg-Marquart) but they rely heavily on Matrix Classes and transformations that don't port well to .NET 2.0.

 

Has anyone written (or know off) a solver that can be hosted on a NetDuino Plus 2?

 

Many thanks in advance

Homey



#2 Jason.Net

Jason.Net

    Advanced Member

  • Members
  • PipPipPip
  • 41 posts

Posted 30 October 2013 - 05:04 PM

I haven't seen one but it may be possible to convert something like math.net to th MF. I've used aspects of it before. You could always write your own. Have a search for numerical methods on C#. It is on not in. If all else fails then get a copy of the lstest numerical recipes book and translate it yourself. Depending on how intensive the calculations are and how many you need per second you may struggle with an interpreted language implementation. Cheers On my phone so no links.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.