Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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.
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...
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...
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 =...
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 =...
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)?
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...
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...
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...
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...
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???
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...
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...
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.