Read current speed of Ryze drone
Connect to a Ryze Tello drone.
droneObj = ryze()
droneObj = ryze tello with properties: Name: "Tello" ID: "TELLO-D2B07B" State: "landed" BatteryLevel: 50% AvailableCameras: ["FPV"]
initiate takeoff of the drone.
While the Ryze Tello is in flight, read the speed of the drone.
[speed,time] = readSpeed(droneObj)
speed = 0.8600 -0.0240 0.0015 time = datetime 15-Aug-2019 14:07:19
droneObj— Ryze drone connection
Ryze drone connection object, specified as a
speed— Current speed of drone
The current speed of the drone in m/s along the x-, y-, and z- directions with respect to the inertial NED frame. The NED frame is calculated at drone startup.
time— Timestamp from drone
The time at which the speed data is received by MATLAB®, specified as a datetime.