Complete the code to start the SITL simulator.
sitl = dronekit_sitl.SITL()
sitl.[1]()The start() method is used to launch the SITL simulator.
Complete the code to connect to the vehicle using SITL.
vehicle = connect('[1]', wait_ready=True)
The SITL usually connects via UDP on port 14550.
Fix the error in the code to stop the SITL simulator.
sitl.[1]()The correct method to stop the SITL simulator is stop().
Fill both blanks to create a dictionary comprehension that maps vehicle modes to descriptions if the mode name length is greater than 4.
mode_descriptions = {mode: desc for mode, desc in modes.items() if len(mode) [1] [2]The condition checks if the length of the mode name is greater than 4.
Fill all three blanks to create a dictionary comprehension that maps uppercase mode names to their descriptions only if the description length is greater than 10.
filtered_modes = {mode[1]: desc for mode, desc in modes.items() if len(desc) [2] [3]The comprehension converts mode names to uppercase and filters descriptions longer than 10 characters.