Could someone who is knowledgeable about the internal workings of Orbiter give me some insight into how the autopilots work? I'm using the patched 2010 edition.
I had noticed, as I'm sure most have, that when in LEO and doing a burn with the normal or antinormal autopilots, on the Orbit HUD the normal and antinormal vectors move as the delta-vee is applied, and the nose of the craft lags behind those vectors. I had also noticed that the nose does not appear to drift away from the prograde or retrograde markers when using those autopilots and doing burns. I hadn't worried about it, in fact I just assumed that the normal/antinormal autopilots had a small bug in them …
Lately I did some RK4 simulations of prograde burns in low planetary orbits, to simulate ejections from orbits a little more accurately. And my numbers are always a shade off from what happens in Orbiter. I've verified that I'm doing RK4 correctly and the error is larger than what could be attributed to the fact that RK4 is good-but-not-quite-perfect. Now the errors aren't large enough to complain about, a fraction of a percentage point, but they are there and are consistent. And that got me to take a closer look – literally, zooming into 10 degree FOV (something I had no reason to do before) -- and then I noticed something I had missed earlier.
When the (anti)normal autopilot is on and the ship is in a stable orbit (no burn), the nose of the craft is right on the +/- “90 degree latitude” marker on the Orbit HUD. But with the prograde and retrograde autopilots, the nose is pointed about 1/3 of a degree to the right of the appropriate HUD marker (outward from the central body for prograde; inward for retrograde). However, unlike the (anti)normal autopilots, which drift away from the normal vectors during a burn, the prograde and retrograde autopilots do not drift away from this position during burns (except in extreme cases; e.g., burning retrograde until orbital velocity = 0).
I'm guessing that the autopilots cannot quite precisely track changing vectors, and that Orbiter handles this in two different ways. For the (anti)normal autopilots, the autopilots just track the vectors the best they can and the chips are left to fall where they may (altering the periapse/apoapse of the orbit). For the prograde and retrograde autopilots, a small fudge factor is used to compensate, skewing the autopilot slightly in the direction in which a burn would bend the trajectory. But that's just a guess; obviously I don't know firsthand. Is that what's happening? Or if it's not, what's the reason for the autopilots acting this way? And again, I'm not complaining, it's a wonderful program and I've had a lot of fun with it.
I had noticed, as I'm sure most have, that when in LEO and doing a burn with the normal or antinormal autopilots, on the Orbit HUD the normal and antinormal vectors move as the delta-vee is applied, and the nose of the craft lags behind those vectors. I had also noticed that the nose does not appear to drift away from the prograde or retrograde markers when using those autopilots and doing burns. I hadn't worried about it, in fact I just assumed that the normal/antinormal autopilots had a small bug in them …
Lately I did some RK4 simulations of prograde burns in low planetary orbits, to simulate ejections from orbits a little more accurately. And my numbers are always a shade off from what happens in Orbiter. I've verified that I'm doing RK4 correctly and the error is larger than what could be attributed to the fact that RK4 is good-but-not-quite-perfect. Now the errors aren't large enough to complain about, a fraction of a percentage point, but they are there and are consistent. And that got me to take a closer look – literally, zooming into 10 degree FOV (something I had no reason to do before) -- and then I noticed something I had missed earlier.
When the (anti)normal autopilot is on and the ship is in a stable orbit (no burn), the nose of the craft is right on the +/- “90 degree latitude” marker on the Orbit HUD. But with the prograde and retrograde autopilots, the nose is pointed about 1/3 of a degree to the right of the appropriate HUD marker (outward from the central body for prograde; inward for retrograde). However, unlike the (anti)normal autopilots, which drift away from the normal vectors during a burn, the prograde and retrograde autopilots do not drift away from this position during burns (except in extreme cases; e.g., burning retrograde until orbital velocity = 0).
I'm guessing that the autopilots cannot quite precisely track changing vectors, and that Orbiter handles this in two different ways. For the (anti)normal autopilots, the autopilots just track the vectors the best they can and the chips are left to fall where they may (altering the periapse/apoapse of the orbit). For the prograde and retrograde autopilots, a small fudge factor is used to compensate, skewing the autopilot slightly in the direction in which a burn would bend the trajectory. But that's just a guess; obviously I don't know firsthand. Is that what's happening? Or if it's not, what's the reason for the autopilots acting this way? And again, I'm not complaining, it's a wonderful program and I've had a lot of fun with it.