Boy, do we need to organize the aero code.... :facepalm:
Currently there is an AerosurfacePositions structure that is where the aero code gets the aerosurface positions and does its magic. But that only gets input sometimes, and it is not saved (except the speedbrake). IMO that structure is very good on the "low level", i.e. interface with Orbiter, and we only need to work on saving the position of the aerosurfaces, and also on who (subsystem) writes into that structure and reads the positions for feedback and display usage.
Also, the "aero code" at the begining of Atlantis.cpp could probably be moved to its own file.
Anyway, added a few items to the Autoland (actually these are in the FCS... :uhh: don't kill the messenger): derotation, load balancing and yaw control, which is super-hacked and, in all honesty, I'm not really sure if it is doing much. There is tons of crosswind and the lateral guidance somehow keeps the vehicle lined up with the runway regardless of rudder position. :shrug:
Also, the hacked-inside-AerojetDAP NWS (another system in need of work) now gets auto commands, so the vehicle can now fly from 10kft to a stop somewhere past the runway end (it doesn't have auto brakes), but still right on the centerline :thumbup:.
Still tons of work to do: maybe 90% HUD-related, and also working out the Autoland reference parameters for the other 3 AL trajectories, and maybe tunning the FCS pitch channel to follow the auto commands more closely.
I'll now test the large textures.
---------- Post added at 06:05 PM ---------- Previous post was at 05:34 PM ----------
I was expecting a CTD, but it actually loaded... then I switched to the outside view and the vehicle was all white. Log output:
Code:
000000.000: Texture load: .\Textures\SSU\Atlantis_5thmod.dds
000000.000: ---------------------------------------------------------------
000000.000: >>> ERROR: DDraw error DDERR_INVALIDCAPS
000000.000: >>> [ReadDDSSurface | .\Texture.cpp | 292]
000000.000: ---------------------------------------------------------------
============================ ERROR: ===========================
ReadDDSSurface failed (code: -2005532572)
[TextureManager::LoadTexture | .\Texture.cpp | 1227]
===============================================================
--------------------------- WARNING: --------------------------
>>> Texture not found: SSU\Atlantis_5thmod.dds
Skipping.
>>> [TextureManager::AcquireTexture | .\Texture.cpp | 1040]
---------------------------------------------------------------