Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Vexal

Member Since 28 Sep 2007
Offline Last Active Apr 02 2015 12:05 PM

Posts I've Made

In Topic: Arbitrary thruster burn solving

08 March 2015 - 02:13 PM

In case anyone is interested, I solved this problem.  I use linear programming to optimize for the minimum sum of the absolute values of the difference between "attained force / torque this frame (per dimension)", and "required force / toque this frame", where required force this frame is the force required to get the ship to a set target velocity / rotational velocity.  The variables are the percentage of each thruster; the coefficients are the force and torque the thruster has in each dimension.  The thrusters are constrained between 0 and 1.

 

This page has a really great explanation on how to minimize absolute value even though it itself is not linear: http://lpsolve.sourceforge.net/5.5/absolute.htm

 

Compiling LPSolve library with VC++14 worked fine.  

 

If anyone has questions about the details of this feel free to ask.


In Topic: I made a guide on how to mod any toaster to control PC games in 3 steps.

11 January 2015 - 08:10 PM

I could only come up with a pseudo-random game title.  But you're right, the domain for my reading game, Facebook, is already taken.


In Topic: I made a guide on how to mod any toaster to control PC games in 3 steps.

11 January 2015 - 07:52 PM

http://www.computerweekly.com/blogs/open-source-insider/2013/10/openstructures-project-creates-industrial-toaster.html


In Topic: I made a guide on how to mod any toaster to control PC games in 3 steps.

11 January 2015 - 07:48 PM

The toast functions as an organic energy source so you don't have to plug it into the wall.


In Topic: Bug in vc++ 2014 preview compiler? (std::thread)

11 January 2015 - 12:36 AM

It is an atomic.  And the threads exit.  It actually rarely reaches the limit in my tests.  Even if I spam refresh a page with a huge number of images, it rarely uses more than 6 threads      (the limit is 8). Sometimes it hangs after a single refresh. When I pause execution in the debugger after it hangs, it shows execution is inside the thread constructor, and that only the main thread an I/O thread still exist.


PARTNERS