Пример #1
0
    private void Tello_onConnection(TelloLib.ConnectionState newState)
    {
        //throw new System.NotImplementedException();
        //Debug.Log("Tello_onConnection : " + newState);
        if (newState == TelloLib.ConnectionState.Connected)
        {
            Tello.QueryAttAngle();
            Tello.SetMaxHeight(50);

            Tello.SetPicVidMode(1);             // 0: picture, 1: video
            Tello.SetVideoBitRate((int)VideoBitRate.VideoBitRateAuto);
            //Tello.setEV(0);
            Tello.RequestIframe();
        }
    }