Example #1
0
        public IEnumerator <bool> SpreadLoad()
        {
            lights.Main();
            yield return(true);

            MyDetectedEntityInfo surface = surfaceScanner.Main();

            yield return(true);

            Vector3D groundUp = surfaceScanner.GetGroundUp();

            yield return(true);

            wheel.Main(surface, surfaceScanner.GetClearance(), groundUp);
            yield return(true);

            gyroControl.StabelizeUpwards(groundUp);
            yield return(true);

            downforce.Main((float)surfaceScanner.GetClearance(), surface);
            yield return(true);

            transponder.Main();
            yield return(true);

            dynamicCOM.SetMassChanges();
        }