• ORBITER-FORUM will be temporarily closed at 2026-07-23 18:00 UTC while we complete some OF maintenance tasks. The amount of downtime is expected to take up to one hour, but probably less.

Search results

  1. T

    C++ Question How to get euler angles from quaternion.h

    Can be found here I tried to return the eulerangle but I don't know how it's working. I even don't understand why it has 4 elements instead of 3...
  2. T

    C++ Question How to get euler angles from quaternion.h

    Hello, I found a quaternion class/header here. Does somebody knows how to use the "toEuler" - method? ... // -parameters : integer order- which will specify the order of the rotation, q- quaternion // -return value : Euler angle // - template<class _Tp> void Quaternion<_Tp>::toEuler(_Tp...
  3. T

    General Question pointing the hover engine

    Hi Hlynkacg, I think for any kind of autopiliot I want to create from now on I need (for none-atmospheric flight) a way to set yaw, pitch and roll without any gimbal lock problems. Another issue is to rotate fast to the given setpoints. I think the example code comes very close to my...
  4. T

    LVLH direction vector

    I think I found a solution for my similar problem. By this way you can get the rotation matrix of your local horizon (In my test relativ to the moon): OBJHANDLE hVessel = oapiGetFocusInterface()->GetHandle(); OBJHANDLE hMoon = oapiGetObjectByName("Moon"); MATRIX3 m3Vessel =...
  5. T

    General Question pointing the hover engine

    Ha did some progress. Now I can get the rotation matrix relativ to the local horizon: OBJHANDLE hVessel = oapiGetFocusInterface()->GetHandle(); OBJHANDLE hMoon = oapiGetObjectByName("Moon"); MATRIX3 m3Vessel = getRotationMatrixFromHandle(hVessel); MATRIX3 m3Moon =...
  6. T

    General Question pointing the hover engine

    The normal values for pitch, yaw, bank, AOA and Slip are for the direction X=0 Y=0 Z=1 (forward). I want to know how I can calculate them for any other given vector, like X=0, Y=-1, Z=0 (downward) for the hover engine (Without gimbal lock problem)?
  7. T

    LVLH direction vector

    BTW, one advanced question: How do real spacecraft’s rotate using their RCS? Is it possible to reach any orientation with two (or n) bursts of thrust of all required RCS engines? Or is a copiously thrust management required? Regarding Zatnikitelman question: I'm working on a solution for a...
  8. T

    General Question pointing the hover engine

    Hi, here is the code I got. I need some more tests but it seems to be working. At the moment it's just a test code which display orders on a MFD, but I reqire this to implement some autopilot functions. In this example, THGROUP_HOVER is set fix, but it even works by replaceing it by each other...
  9. T

    General Question pointing the hover engine

    My problem is I don't exactly know what I need and it's even more harder to explain ;-) In a first step, I want to point the hover engine onto the "airspeed vector", so I just need the AOA and the slip angel of the thrust direction of the hover engine. If I use *VESSEL=>GetAOA() or...
  10. T

    General Question pointing the hover engine

    Hi ok, for the pitch I've got it (see attached code). But I need also the angel between the ships airspeed vector and the hover engines left / right orientation. In other words: I want to know the ships accelerration to the left / right relativ to the flight path, if the hover engine would be...
  11. T

    General Question pointing the hover engine

    I'm a bit lost at the moment... How can I get the pitch and the "2D - direction projected onto the surface" (lets say heading) of the hover engine? This should work even if the pitch is > 90°... ? Do I have to use the rotation matrix and "transform" it to the local frame???
  12. T

    Gaming Digital Combat Simulator Thread

    Just noticed that it's "DCS Weekend Flash Sale!" (~70% off) http://www.digitalcombatsimulator.com/en/news/2015-07-31+DCS+Weekend+Flash+Sale!/
  13. T

    Updates Kepler: Mission news & launch thread

    I ask me, if they can distinguish between the mass of the planet, and a planet with a hypotical moon? So my guess is, they can only messure the dimming, so they can estimate the size or the "occupied area in km²". Maybe the planet has 1 earth mass and a moon with 0,5 earth mass or so, which...
  14. T

    Internet Video Thread

    A short NASA documentation about the Voyager project
  15. T

    Updates NASA New Horizons Mission Updates

    Montains made of water ice...? Maybe there is truely an ocean under the surface ... who knows...
  16. T

    Updates NASA New Horizons Mission Updates

    Is it a "river" near the crater at 8 o clock? (That one with the mountan in the middle) To me it looks like a river which goes into the valley. Maybe the methan or what ever it is was melted after the impact...
  17. T

    Updates NASA New Horizons Mission Updates

    Have a safe flight New Horizon we will see you on the other side!
  18. T

    Updates NASA New Horizons Mission Updates

    Here is the (current?) fly by scenario animation: [Edit] I just downloaded this NASA app "EYES ON SOLAR SYSTEM" I never heard about it... On this link, you can download the App and the Pluto fly by sequence: http://eyes.nasa.gov/eyes-on-pluto.html
Back
Top