private void Tello_onConnection(Tello.ConnectionState newState)
 {
     if (newState == Tello.ConnectionState.Connected)
     {
         Debug.Log("Connected to Tello, please wait for camera feed");
         Tello.setPicVidMode(1); // 0: picture, 1: video
         Tello.setVideoBitRate((int)TelloController.VideoBitRate.VideoBitRateAuto);
         Tello.requestIframe();
     }
 }
Esempio n. 2
0
 private void Tello_onConnection(Tello.ConnectionState newState)
 {
     //throw new System.NotImplementedException();
     //Debug.Log("Tello_onConnection : " + newState);
     if (newState == Tello.ConnectionState.Connected)
     {
         Tello.setPicVidMode(1);             // 0: picture, 1: video
         Tello.setVideoBitRate((int)Tello.VideoBitRate.VideoBitRateAuto);
         //Tello.setEV(0);
         Tello.requestIframe();
     }
 }