get_angle()Description#This function gets the roll, pitch, and yaw angles from the gyrometer sensor.Syntax#get_angle()Parameters#NoneReturns#It returns an Angle class in Python.Example Code#Python##Python codeimport CoDrone_mini drone = CoDrone_mini.CoDrone()drone.pair() # print the angle valuesangle = drone.get_angle()print(angle)print(angle.ROLL, angle.PITCH, angle.YAW)drone.close()Copy