예제 #1
0
파일: Commands.cs 프로젝트: salih18200/orcs
 public void Command_Forward_Backward(int speed, int times, ref Communication TcpClnt)
 {
     TcpClnt.Send_Data_By_Client(movement.Motion_Foreward_Backward(speed));
     time = times;
     Time_Thread = new Thread(new ParameterizedThreadStart(Time_Thread_Fcn));
     Time_Thread.Start(TcpClnt);
 }
예제 #2
0
파일: Commands.cs 프로젝트: salih18200/orcs
 public void Command_Stop(ref Communication TcpClnt)
 {
     TcpClnt.Send_Data_By_Client(movement.Motion_Foreward_Backward(63));
     TcpClnt.Send_Data_By_Client(movement.Direction_Right_Left(63));
 }