Complete the code to start the drone simulation.
drone.[1]()The method start_simulation() begins the drone mission simulation before actual flight.
Complete the code to add a waypoint to the simulation mission.
simulation.add_waypoint([1])Point or Coordinate.Location which is not defined in this context.The Waypoint object with coordinates and altitude is required to add a waypoint to the mission.
Fix the error in the code to run the simulation mission.
simulation.[1]()The method run() executes the simulation mission properly.
Fill both blanks to check if the simulation mission is complete and then stop it.
if simulation.[1](): simulation.[2]()
Use is_complete() to check if the simulation finished, then stop() to end it.
Fill all three blanks to create a dictionary of waypoints with their altitudes, filtering only those above 10 meters.
altitudes = {wp.[1]: wp.[2] for wp in mission.waypoints if wp.[3] > 10}Use longitude as the key, altitude as the value, and filter by altitude greater than 10.