- Netduino Forums
- → Brandon G's Content
Brandon G's Content
There have been 92 items by Brandon G (Search limited from 07-June 23)
#8360 Quad.Net Quadrocopter for .NETMF
Posted by Brandon G on 25 January 2011 - 06:12 AM in Project Showcase
#8266 Quad.Net Quadrocopter for .NETMF
Posted by Brandon G on 24 January 2011 - 08:31 AM in Project Showcase
#16328 Quad.Net Quadrocopter for .NETMF
Posted by Brandon G on 04 August 2011 - 03:52 PM in Project Showcase
#9009 Quad.Net Quadrocopter for .NETMF
Posted by Brandon G on 04 February 2011 - 08:52 PM in Project Showcase
#7783 Quad.Net Quadrocopter for .NETMF
Posted by Brandon G on 16 January 2011 - 11:49 PM in Project Showcase
#8911 Quad.Net Quadrocopter for .NETMF
Posted by Brandon G on 02 February 2011 - 09:39 PM in Project Showcase
#8362 Quad.Net Quadrocopter for .NETMF
Posted by Brandon G on 25 January 2011 - 06:21 AM in Project Showcase
#8364 Quad.Net Quadrocopter for .NETMF
Posted by Brandon G on 25 January 2011 - 06:22 AM in Project Showcase
#8256 Quad.Net Quadrocopter for .NETMF
Posted by Brandon G on 24 January 2011 - 06:34 AM in Project Showcase
#8525 Quad.Net Quadrocopter for .NETMF
Posted by Brandon G on 27 January 2011 - 06:49 AM in Project Showcase
#8257 Quad.Net Quadrocopter for .NETMF
Posted by Brandon G on 24 January 2011 - 07:14 AM in Project Showcase
#8522 Quad.Net Quadrocopter for .NETMF
Posted by Brandon G on 27 January 2011 - 06:42 AM in Project Showcase
#8262 Quad.Net Quadrocopter for .NETMF
Posted by Brandon G on 24 January 2011 - 08:00 AM in Project Showcase
#8535 Quad.Net Quadrocopter for .NETMF
Posted by Brandon G on 27 January 2011 - 08:10 AM in Project Showcase
Chris thank you for the forum etiquette reminder. The posts were fast given we we had discovered the algo at the exact same time i replied and implemented it in code, i've attached our algo. i think you might be on to something as far as making it a scaling variable that can change as the flight conditions change.
using System; namespace Quad.Net.Commons.Utilities { public class Scale { private readonly double[] _coefficients; private readonly double _offset; public Scale(double offset, params double[] coefficients) { _coefficients = coefficients; _offset = offset; } public double Calculate(double value) { double output = 0; for (int i = 0; i < _coefficients.Length; i++) { output += Math.Pow(value + _offset, i) * _coefficients[_coefficients.Length - i - 1]; } return output; } } } namespace Quad.Net.Tests { [TestFixture] public class ScaleTests { [Test] public void TestQuadratics() { Scale scale = new Scale(-1500, 0.0000008, 0, 0, 0); Assert.AreEqual(scale.Calculate(1000),-100); } } }
#8909 Quad.Net Quadrocopter for .NETMF
Posted by Brandon G on 02 February 2011 - 09:21 PM in Project Showcase
#8399 Quad.Net Quadrocopter for .NETMF
Posted by Brandon G on 25 January 2011 - 03:57 PM in Project Showcase
#8527 Quad.Net Quadrocopter for .NETMF
Posted by Brandon G on 27 January 2011 - 06:55 AM in Project Showcase
#8524 Quad.Net Quadrocopter for .NETMF
Posted by Brandon G on 27 January 2011 - 06:47 AM in Project Showcase
#7535 NetDuino Quadrocopter
Posted by Brandon G on 12 January 2011 - 10:18 PM in Netduino 2 (and Netduino 1)
#8068 NetDuino Quadrocopter
Posted by Brandon G on 21 January 2011 - 05:45 PM in Netduino 2 (and Netduino 1)
#8066 NetDuino Quadrocopter
Posted by Brandon G on 21 January 2011 - 05:14 PM in Netduino 2 (and Netduino 1)
#7523 NetDuino Quadrocopter
Posted by Brandon G on 12 January 2011 - 06:15 PM in Netduino 2 (and Netduino 1)
#7493 NetDuino Quadrocopter
Posted by Brandon G on 12 January 2011 - 07:30 AM in Netduino 2 (and Netduino 1)
#7490 NetDuino Quadrocopter
Posted by Brandon G on 12 January 2011 - 05:19 AM in Netduino 2 (and Netduino 1)
#6856 NetDuino Quadrocopter
Posted by Brandon G on 02 January 2011 - 09:32 PM in Netduino 2 (and Netduino 1)
- Netduino Forums
- → Brandon G's Content
- Privacy Policy