Jump to content

Hakuhonoo

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by Hakuhonoo

  1. 7 minutes ago, RCgothic said:

    Not an easy problem! You need to work out what combination of engine thrusts provides rotational equilibrium. As others have mentioned there may be more than one unique solution.

    Then you either want the axis (solution) in which you get maximum thrust or maximum ISP depending on whether or not you are fuel limited or time limited.

    Over any reasonable time period the answer will always be to first rotate the axis of maximum engine thrust or maximum isp onto your custom vector.

    I know, it's difficult. So I need help :)

    I'm still thinking about another idea to move the custom built ship. But nothing too valuable for now...

  2. 3 hours ago, YNM said:

    If what you're trying to do is akin to having multiple-engine stage, then you need to balance out the torque. So cross-product the radius from CoM vector with the force vector they produce, and find one such that they produce no torque. Indeed there are some cases where it's impossible to have one.

    You can simulate in KSP as well.

    I guess there's a language barrier here as well.

    Yes, you are right about |V x U| = 0 -> no torque ( http://prntscr.com/g432th ). But if it's not - I need to compensate the torque somehow. So I need to know power (force) of the torque as well as its direction. |V x U| looks pretty much like torque force, but vector V x U definitely point towards the wrong direction. I guess to get the torque direction we need to project vector U on a surface built by point (CoM + V) and vector V. Am I right?

    And yes, the language barrier is a problem to some degree, but math is our language! )))

    2 hours ago, kerbiloid said:

    Also depends on what OP wants: to get an established equilibrium condition or to dynamically manage the engines throttle.

    In the second case he has to deal with PID automation like described here, and this is more complicated than a vector algebra. That's why I've mentioned TCA mod,

    2

    It's not really connected to KSP. And Throttle Controlled Avionics is using aerodynamics and gravity. I don't need those.

    What about equilibrium or dynamic... well... if I'll get equilibrium each few frames it becomes dynamic, isn't it?

  3. Hmm... I guess you're right.

    Then I need to know another thing. Here is an image: http://prntscr.com/g432th

    • C - center of mass
    • P1 & P2 - thrusters
    • v - vector from C to P1
    • u - vector of the thruster at P1
    • |u| - max thrust on it

    How much torque will get an object depends on how much thrust produce the thruster at P1?

    What about the task at all. Now I think to make main engines directed strictly backward and many thrusters to rotate the object somehow.

  4. 2 hours ago, Steel said:

    So what are you actually trying to achieve here? Are you trying to work out how much thrust each engine needs to produce to achieve 1,2 or 3? Or are you trying to work out what combination of engines are needed to do each one?

    I'm trying to work out how much thrust each engine needs to produce to achieve a maximum speed of the object along a custom vector.

  5. Hi, everyone!

    I have a nasty problem to solve. Half by physics, half by math. And hope UE4 can help me with that too.

    I have an object in the space. We know the center of its mass (C). There also a lot of engines/thrusters. We know where are they placed (P1...Pn) and in which direction they turned (D1...Dn). Each engine has maximum thrust (0...Ti). All those values we know.

    Tasks are:

    1) We should be able to move (strafe) the object in the space by custom normalized vector (V) with custom thrust power (0 <= T <= 1).

    2) We should be able to turn the object on the place centered on (C) with custom thrust power (0 <= T <= 1).

    3) Of course, there are situations, where it's impossible. If so -> T = 0.

    Any thoughts or formulas?

×
×
  • Create New...