Complete the code to set the gimbal pitch angle to 30 degrees.
gimbal.set_pitch([1])The gimbal pitch angle is set by passing the desired angle in degrees to the set_pitch method. Here, 30 degrees is the correct value.
Complete the code to smoothly move the gimbal yaw to 90 degrees.
gimbal.move_yaw([1], speed=10)
The move_yaw method moves the gimbal horizontally. Setting it to 90 degrees points the camera to the right side.
Fix the error in the code to correctly set the gimbal roll angle to 15 degrees.
gimbal.set_roll([1])The set_roll method expects a numeric value without quotes. Using 15 as an integer is correct.
Fill both blanks to create a dictionary of gimbal angles for pitch and yaw.
angles = {'pitch': [1], 'yaw': [2]The dictionary stores the pitch angle as 30 and the yaw angle as 90 degrees.
Fill all three blanks to set pitch, yaw, and roll angles in the gimbal control dictionary.
gimbal_angles = {'pitch': [1], 'yaw': [2], 'roll': [3]The dictionary sets pitch to 30, yaw to 45, and roll to 15 degrees, which are common gimbal angles.