Exemplo n.º 1
0
        public FlightComputerGUI(RemoteCore corein)
        {
            this.core = corein;
            throttle  = new SimpleThrottle(this);
            rover     = new roverControl(this);

            attitudeButtons = new List <AttitudeStateButton>();
            attitudeButtons.Add(new AttitudeStateButton(this, AttitudeMode.KILLROT, "KillRot"));
            attitudeButtons.Add(new AttitudeStateButton(this, AttitudeMode.PROGRADE, "Prograde"));
            attitudeButtons.Add(new AttitudeStateButton(this, AttitudeMode.RETROGRADE, "Retrograde"));
            attitudeButtons.Add(new AttitudeStateButton(this, AttitudeMode.NORMAL_PLUS, "NML +"));
            attitudeButtons.Add(new AttitudeStateButton(this, AttitudeMode.NORMAL_MINUS, "NML -"));
            attitudeButtons.Add(new AttitudeStateButton(this, AttitudeMode.RADIAL_PLUS, "RAD +"));
            attitudeButtons.Add(new AttitudeStateButton(this, AttitudeMode.RADIAL_MINUS, "RAD -"));
            attitudeButtons.Add(new AttitudeStateButton(this, AttitudeMode.MANEUVERNODE, "Maneuver"));
            attitudeButtons.Add(new AttitudeStateButton(this, AttitudeMode.SURFACE, "Surface"));
        }
Exemplo n.º 2
0
        public FlightComputerGUI(RemoteCore corein)
        {
            this.core = corein;
            throttle = new SimpleThrottle(this);
            rover = new roverControl(this);

            attitudeButtons = new List<AttitudeStateButton>();
            attitudeButtons.Add(new AttitudeStateButton(this, AttitudeMode.KILLROT, "KillRot"));
            attitudeButtons.Add(new AttitudeStateButton(this, AttitudeMode.PROGRADE, "Prograde"));
            attitudeButtons.Add(new AttitudeStateButton(this, AttitudeMode.RETROGRADE, "Retrograde"));
            attitudeButtons.Add(new AttitudeStateButton(this, AttitudeMode.NORMAL_PLUS, "NML +"));
            attitudeButtons.Add(new AttitudeStateButton(this, AttitudeMode.NORMAL_MINUS, "NML -"));
            attitudeButtons.Add(new AttitudeStateButton(this, AttitudeMode.RADIAL_PLUS, "RAD +"));
            attitudeButtons.Add(new AttitudeStateButton(this, AttitudeMode.RADIAL_MINUS, "RAD -"));
            attitudeButtons.Add(new AttitudeStateButton(this, AttitudeMode.MANEUVERNODE, "Maneuver"));
            attitudeButtons.Add(new AttitudeStateButton(this, AttitudeMode.SURFACE, "Surface"));
        }