コード例 #1
0
        public string Rotate(string direction, int degrees)
        {
            var svc = new TelloSdkService();

            //TODO: validate degrees
            return(svc.Roate(direction, degrees));
        }
コード例 #2
0
        public string Move(string direction, int distance)
        {
            var svc = new TelloSdkService();

            //TODO: validate distance
            return(svc.Move(direction, distance));
        }
コード例 #3
0
        public void Land()
        {
            var svc = new TelloSdkService();

            svc.Land();
        }
コード例 #4
0
        public void Takoff()
        {
            var svc = new TelloSdkService();

            svc.TakeOff();
        }
コード例 #5
0
        public string Flip(string direction)
        {
            var svc = new TelloSdkService();

            return(svc.Flip(direction));
        }
コード例 #6
0
        public string Get(string query)
        {
            var svc = new TelloSdkService();

            return(svc.QueryBattery());
        }