Hi!
I'm trying to figure out how the simulation environment displays the 3d-world
on the (planar) screen.
Is it just the way a pinhole camera works?
Thanks!
Huddi
Hi!
I've created my own VESSEL2 vessel. I would like to put the
clbkDrawHUD function into a Plugin so that other Vessels can use
it as well.
Is this possible?
Thanks!
Huddi
That was just a mistake in the example. I've got x=orbitdirection y=right z=down
I used the exact equations that are given.
Vallado uses: x= up y=orbitdirection z=left
So I put x=-z y=x z=-y
and back again. This should work?!
Okay, so there must be something wrong with my calculations-
but I just cannot find the mistake :/.
Maybe the coordinate system?! I've got
x: in Orbitvelocity direction
y: crossproduct(x,z)
z: points towards earth
This is my code to that...
Hi,
I'm trying to program a pathprediction for a docking maneuver situation.
The Hill's equation (also known as Clohessy-Wiltshire) should - as I understand -
exactly do this.
This is how it is in Orbiter:
-target (blue dot) is in a circular orbit
-interceptor (red dot) about 500m behind...
Hi,
if I validly call oapiGetVesselByIndex everything is all right.
But if there is no Object for the Index entered, the program crashes.
this
try
{
...
}
catch(...){};
does not work. What else can I do?
Thanks,
Huddi
I tried to just change that point in the code.
But this didn't help much. I think you also have to change the orbitersdk.h to the one as eg deltaglider has it. then dragonfly.cpp compiles, but the whole project cannot be build.
I've got no idea how to solve this. Isn't there a function in the...
Hi,
I've got some questions about the Dragonfly sample.
1. This Vessel is not Vessel2 derived. Is there an easy way to change
it to vessel2?
2. I can't find any function for the HUD. Just creating the Function clbkDrawHUD compiles fine, but has no result.
3. is there a reason for the...
Thanks a lot!! This works - even with the orbitplane.
But did you find out why it didn't work before?
edit: found it... was nothing about the vesselstatus structure. tmul uses the transposed matrix.
so you dont go from local to global, but the other way
unfortunately it does not work.
here is my try. it is not working either but i just cant find any mistake.
MATRIX3 rotLocal2Global; // rotation matrix for transforming from local coords to global coords
VECTOR3 rightWing, //vector to vessels right wing
tempVector, //umrechnung...
It returns -1.#IND for pos.x, pos.y and pos.z if i transform those into a string
Yes this sounds right. Its just the plane opened by the velocity vector
and the vector from the vessels center of mass to the planets center of mass.
this would be so great... i'm stuck for a long time now :)
Don't know why, but I think it is because of the second parameter vs.rot/length(vs.rot) looks like you have to do this operation seperately with a for-loop
My objective is to get the Vessel's z-rotation to the orbital plane.
The behaviour is supposed to be exactly like the bank angle to the...
I had to modify the code a little because tmul() wouldn't work.
Could you maybe explain, how the code is supposed to work? Because right now it returns wrong angles.
(which are effected by e.g. position, yaw and pitch angle)
Hi,
I am trying to get the Tait-Bryan Angles to the Orbit System.
I am able to get the equivalents to Yaw and Pitch by a few conversions.
But I just cant find anything for the "bank-equivalent". This would be the
rotation around the vessels longitudinal axis to the orbital plane.
Can anybody...
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.