Would be nice to have the right insignia, also. NASA worm and no black OMS tiles, for STS-1 as an example.
BTW, does this mean we're dumping the use of the WING_NAME parameter?
Well, lately xmariox has been working on some upgrades: [ame="http://www.orbithangar.com/searchid.php?ID=3742"]Shuttle Fleet textures[/ame]Is Marg7 still around ? He had all the historic textures, AFAIR.
The launch works fine for me, including the roll. Doesn't freeze at any point.Orbiter freezes during launch. As far as I can tell, the freeze happens just as teh roll program is about to be initiated.
Weired. Both Donamy and I experience the freeze(he experiences it just a second or two after lift-off).The launch works fine for me, including the roll. Doesn't freeze at any point.
So I would recommend that you remove the PID controller from the ascent part and put back whatever you used before. I have a hunch that this is the source of the insta-freezes. If the freezes are gone when the PID controller is, I guess you need to take a closer look on it to see if there's anything, anything at all that could cause a freeze of the sim when a steering command is given.
Any review of code would be appriciated.
Heading=atan2(wingHorizon.x,wingHorizon.z)+PI/2;
while(Heading < 0)
Heading += 2 * PI;
As far as I can tell, the code snippet above works fine; the heading is only incremented if the value is less than 0, so it should be in the range of 0 to 2π. I'm also getting low framerates, although I'm not sure why this is.Found a small "bug", which could be related to the problem. It is a sequence of code, which behaves different as it should be intended, but I can't be sure what the intended behavior is.
Code:Heading=atan2(wingHorizon.x,wingHorizon.z)+PI/2; while(Heading < 0) Heading += 2 * PI;
The Heading value is always bigger than 0 (atan2 goes from -π to +π, so Heading will be +π to +3π), if the code was intended to have the heading between 0 and 2π, this will fail this way, and could cause problems in later calculations, which assume a range from 0 to 2π.
Also, I have terribly low FPS again, we had been far better once.
For the navigation and the roll program, would it maybe be better for us, to have an accurate simulation of the IMUs ready before we release 1.25? I notice that we have many repetitions of navigation calculations inside the autopilot codes. Even if we simulated 4 IMUs, this could be better.
As far as I can tell, the code snippet above works fine; the heading is only incremented if the value is less than 0, so it should be in the range of 0 to 2π. I'm also getting low framerates, although I'm not sure why this is.
It's adding PI/2, not PI*2; after the first line, it should be -PI/2 to 3*PI/2.No, it is already PI to 3*PI after the first line, the while loop condition is always false.
In this case at least, they should return small values; the values returned represent changes in the x and y components of the thrust vector. If x² + y² > 1, something is really wrong.Also: NormZ can fail if you input a vector with x² + y² > 1.
This will very likely cause trouble as I am not sure the PID controllers do always return small x and y values.
Fixes the freeze.I've checked in code with the gimballing completely turned off; see if that fixes the freezing.