Complete the code to start the drone's camera for photogrammetry.
drone.camera.[1]()The start() method activates the camera to begin capturing images for photogrammetry.
Complete the code to set the drone's flight altitude for mapping.
drone.flight.set_altitude([1])The altitude must be a number representing meters. Here, 100 sets the flight altitude to 100 meters.
Fix the error in the code to capture images at set intervals.
drone.camera.capture(interval=[1])The interval should be a number representing seconds. Using 5 correctly sets the interval to 5 seconds.
Fill both blanks to create a dictionary of image filenames and their GPS coordinates.
image_data = [1]((filename, drone.camera.[2](filename)) for filename in image_list)
We use dict to create a dictionary and get_gps() to get GPS coordinates for each image filename.
Fill all three blanks to filter images taken above a certain altitude and create a mapping dictionary.
mapping = [1]: drone.camera.get_gps([2]) for [2] in images if drone.flight.altitude [3] 50}}
We use image as the variable name for images, and filter those taken when altitude is greater than 50 meters using >.