Beispiel #1
0
        /// <summary>
        /// Send a line of command to the model in order to update the rudder of the plane,
        /// by the given value.
        /// </summary>
        /// <param name="command"> the new value of the rudder </param>
        public void UpdateRudder(string command)
        {
            List <string> list = new List <string>();

            list.Add("set " + rudderPath + " " + command);
            model.SetValues(list, false);
        }
 /// <summary>
 /// SendCommands : gets list of commands from the Auto Pilot and send them to model.
 /// </summary>
 /// <param name="commands"></param>
 public void SendCommands(List <string> commands)
 {
     model.SetValues(commands, true);
 }