Read current orientation of Ryze drone in terms of Euler angles
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 orientation.
angles = 0.785 0.301 -0.207 time = datetime 15-Aug-2019 14:07:19
droneObj— Ryze drone connection
Ryze drone connection object, specified as a
angles— Euler rotation angles
Euler rotation angles in radians , returned as an 1-by-3 array of Euler rotation angles. The axis is along ZYX axes. This represents the rotation of the drone from the NED frame to the estimated body frame.
time— Timestamp from drone
The time at which the orientation data is received by MATLAB®, specified as a datetime.