Complete the code to connect the drone to Mission Planner using the correct communication port.
connection = connect('[1]')
The drone connects to Mission Planner through a serial port like COM3 on Windows.
Complete the code to set the drone's flight mode to Guided in QGroundControl.
drone.set_mode('[1]')
The 'Guided' mode allows manual control via commands in QGroundControl.
Fix the error in the code to arm the drone safely in Mission Planner.
if drone.[1](): drone.arm()
Before arming, check if the drone is armable using is_armable().
Fill both blanks to create a dictionary of waypoints with their latitude and longitude in QGroundControl.
waypoints = {i: ([1], [2]) for i, wp in enumerate(mission) if wp.is_valid()}Waypoints need latitude and longitude coordinates for navigation.
Fill all three blanks to filter and create a dictionary of waypoints with latitude, longitude, and altitude above 100 meters.
filtered_wps = {i: ([1], [2], [3]) for i, wp in enumerate(mission) if wp.altitude > 100}We include latitude, longitude, and altitude for waypoints above 100 meters.
