コード例 #1
0
ファイル: NavManager.cs プロジェクト: KAW0/Alter-Native
		public void Initialize (double altRef, double headRef, double speedRef)
		{
			this.pid = PIDManager.GetInstance();
			this.alt = new Altitude(altRef);
			this.head = new Heading(headRef);
			this.speed = new Speed(speedRef);
			
			if(this.isFirst == true)
			{
				this.isFirst = false;
				this.ci = new ConsoleInput(this);
				ThreadStart thsCi = new ThreadStart(this.ci.Run);
				Thread th = new Thread(thsCi);
				th.Start();
			}
		}