Closed thaiacepilot closed 6 years ago
my code for simple testing `package mission import ( "time" "github.com/SMerrony/tello" ) func Basic() { drone := new(tello.Tello) drone.ControlConnectDefault() drone.TakeOff() time.Sleep(5 time.Second) drone.SetHome() time.Sleep(1 time.Second) drone.AutoFlyToXY(0, 2) time.Sleep(1 time.Second) drone.AutoFlyToXY(0, 0) time.Sleep(2 time.Second) drone.Land()
} `
You don't actually say above what your problem is.
Anyway, if you checked the error returns from the drone funcs then you might see what your problem is.
Expected Behavior
Current Behavior
Possible Solution
maybe add Autofly (direction,distance) like scratch or python but can adjust speed ( more than 1m/s ) and more range (more than 5 m) like now ## Steps to Reproduce (for bugs)Context
many timesYour Environment