Jump into concepts and practice - no test required
or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Recall & Review
beginner
What is a waypoint in drone mission programming?
A waypoint is a specific GPS coordinate that a drone must fly to during a mission. It acts like a stop or target point on the drone's path.
Click to reveal answer
beginner
Why do we use waypoint missions for drones?
Waypoint missions allow drones to fly automatically along a planned route by visiting multiple GPS points. This helps in tasks like mapping, inspection, or delivery without manual control.
Click to reveal answer
intermediate
What key information is needed to create a waypoint?
You need the GPS coordinates (latitude, longitude), altitude, and sometimes speed or action commands for the drone at that point.
Click to reveal answer
intermediate
How do you add a waypoint to a mission programmatically?
You create a waypoint object with coordinates and parameters, then add it to the mission's waypoint list or array before uploading the mission to the drone.
Click to reveal answer
advanced
What happens if a drone loses GPS signal during a waypoint mission?
The drone may hover, return to home, or land depending on its fail-safe settings. It cannot continue the mission accurately without GPS.
Click to reveal answer
What does a waypoint represent in a drone mission?
AThe drone's battery level
BA GPS coordinate the drone must reach
CThe drone's camera angle
DThe drone's speed setting
✗ Incorrect
A waypoint is a GPS coordinate that guides the drone's path.
Which parameter is NOT typically part of a waypoint?
ALatitude
BAltitude
CDrone's color
DLongitude
✗ Incorrect
Drone's color is unrelated to waypoint data.
How do you programmatically add a waypoint to a mission?
ACreate a waypoint object and add it to the mission list
BChange the drone's firmware
CManually fly the drone to the point
DTurn off the drone
✗ Incorrect
Adding a waypoint involves creating an object and adding it to the mission.
What is a common fail-safe action if GPS signal is lost during a mission?
AContinue flying blindly
BChange camera settings
CIncrease speed
DHover or return to home
✗ Incorrect
Drones usually hover or return home if GPS is lost.
Why is altitude important in waypoint missions?
AIt controls the drone's vertical position
BIt changes the drone's color
CIt sets the drone's battery level
DIt adjusts the drone's camera zoom
✗ Incorrect
Altitude sets how high the drone flies at each waypoint.
Explain the steps to create a waypoint mission for a drone.
Think about planning the route and telling the drone where to go.
You got /5 concepts.
Describe what happens if a drone loses GPS during a waypoint mission and how to handle it.
Consider safety and mission reliability.
You got /4 concepts.
Practice
(1/5)
1. What is the main purpose of creating a waypoint mission for a drone?
easy
A. To make the drone fly automatically through specific GPS points
B. To manually control the drone with a remote
C. To charge the drone's battery faster
D. To change the drone's camera settings
Solution
Step 1: Understand waypoint missions
Waypoint missions are designed to let drones fly automatically through set GPS points without manual control.
Step 2: Compare options
Only To make the drone fly automatically through specific GPS points describes automatic flight through GPS points, which matches the purpose of waypoint missions.
Final Answer:
To make the drone fly automatically through specific GPS points -> Option A
Quick Check:
Waypoint mission = automatic GPS flight [OK]
Hint: Waypoint missions automate flight through GPS points [OK]
Common Mistakes:
Confusing manual control with automatic missions
Thinking waypoint missions change camera or battery
Assuming speed control is the main purpose
2. Which of the following is the correct way to add a waypoint with latitude, longitude, and altitude in a drone mission code snippet?
easy
A. waypoint_add(100, 34.05, -118.25)
B. add_waypoint(altitude=100, lat=34.05, long=-118.25)
C. addWaypoint(34.05, -118.25)
D. add_waypoint(latitude=34.05, longitude=-118.25, altitude=100)
Solution
Step 1: Identify correct parameter names and order
The standard is to specify latitude, longitude, and altitude clearly, usually with named parameters or in order.
Step 2: Check each option
add_waypoint(latitude=34.05, longitude=-118.25, altitude=100) uses clear parameter names and correct order. Others have wrong names, missing altitude, or wrong order.
Final Answer:
add_waypoint(latitude=34.05, longitude=-118.25, altitude=100) -> Option D
Quick Check:
Correct parameter names and order = add_waypoint(latitude=34.05, longitude=-118.25, altitude=100) [OK]
Hint: Use clear latitude, longitude, altitude parameters [OK]
Common Mistakes:
Using wrong parameter names like lat or long instead of latitude/longitude
Omitting altitude
Wrong function name or missing parameters
3. Given the following code snippet for a waypoint mission:
B. Using 'add' method instead of 'append' for list
C. Missing altitude value in waypoint dictionary
D. Print statement syntax error
Solution
Step 1: Check list method usage
Python lists use 'append' to add items, not 'add'. Using 'add' causes an error.
Step 2: Verify other parts
Altitude is present, variable names are correct, and print syntax is valid.
Final Answer:
Using 'add' method instead of 'append' for list -> Option B
Quick Check:
List method must be append, not add [OK]
Hint: Use append() to add items to a list [OK]
Common Mistakes:
Using set methods like add() on lists
Forgetting to include altitude
Typos in variable names
5. You want to create a waypoint mission where the drone flies through three points with these coordinates and altitudes using dictionary keys 'latitude', 'longitude', 'altitude':
1) (34.0, -117.0, 100m)
2) (34.1, -117.1, 120m)
3) (34.2, -117.2, 110m)
You also want the drone to fly at 8 m/s between points. Which code snippet correctly creates this mission and sets the speed?