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 does RTL stand for in drone failsafe actions?
RTL stands for "Return To Launch." It means the drone automatically flies back to its starting point when a failsafe triggers.
Click to reveal answer
beginner
Describe the 'Land' failsafe action for a drone.
The 'Land' action makes the drone safely descend and touch down immediately when a failsafe condition occurs.
Click to reveal answer
intermediate
What is SmartRTL and how is it different from regular RTL?
SmartRTL is an advanced Return To Launch that considers obstacles and battery level to choose a safer path back, unlike regular RTL which flies straight back.
Click to reveal answer
beginner
Why are failsafe actions important in drone programming?
Failsafe actions protect the drone and surroundings by automatically handling emergencies like signal loss or low battery, preventing crashes or loss.
Click to reveal answer
intermediate
Which failsafe action should be used if the drone is flying over water and loses signal?
Using 'Land' might be risky over water. 'SmartRTL' is better because it plans a safe route back to land, avoiding obstacles and hazards.
Click to reveal answer
What happens when a drone triggers the RTL failsafe?
AIt flies back to its launch point automatically.
BIt immediately lands wherever it is.
CIt hovers in place until manual control is regained.
DIt shuts down all motors.
✗ Incorrect
RTL means Return To Launch, so the drone flies back to where it started.
Which failsafe action is best for avoiding obstacles on the way back?
ASmartRTL
BLand
CRTL
DHover
✗ Incorrect
SmartRTL plans a safer route considering obstacles, unlike basic RTL.
If a drone loses signal over a forest, which failsafe is safest?
ALand immediately
BShut down motors
CIgnore and continue flying
DSmartRTL
✗ Incorrect
SmartRTL helps avoid trees and returns safely.
What does the 'Land' failsafe do?
AReturns the drone to launch point
BLands the drone immediately
CIncreases drone speed
DTurns off the drone
✗ Incorrect
The Land failsafe makes the drone descend and touch down safely.
Why might SmartRTL be preferred over RTL?
AIt uses less battery
BIt ignores obstacles
CIt plans a safer route considering obstacles and battery
DIt lands the drone immediately
✗ Incorrect
SmartRTL considers obstacles and battery to choose a safer path back.
Explain the differences between RTL, Land, and SmartRTL failsafe actions in drones.
Think about what the drone does automatically in each case.
You got /3 concepts.
Why is it important to choose the right failsafe action for different flying environments?
Consider flying over water vs. forest or open fields.
You got /3 concepts.
Practice
(1/5)
1. What does the RTL failsafe action do when triggered on a drone?
easy
A. The drone returns to its takeoff point automatically.
B. The drone immediately lands at its current location.
C. The drone hovers in place until manual control is regained.
D. The drone performs a pre-programmed flight path before landing.
Solution
Step 1: Understand RTL meaning
RTL stands for "Return To Launch," meaning the drone flies back to where it took off.
Step 2: Compare with other failsafe actions
Unlike Land or SmartRTL, RTL specifically returns the drone to the takeoff point automatically.
Final Answer:
The drone returns to its takeoff point automatically. -> Option A
Quick Check:
RTL = Return To Launch [OK]
Hint: RTL always means return to the starting point [OK]
Common Mistakes:
Confusing RTL with immediate landing
Thinking RTL means hovering
Assuming RTL follows a custom path
2. Which of the following is the correct syntax to set the failsafe action to Land in a drone programming script?
easy
A. set_failsafeAction('Land')
B. setFailsafeAction(Land)
C. setFailsafeAction("Land")
D. setFailsafeAction('land')
Solution
Step 1: Identify string syntax in code
Failsafe actions are usually passed as strings, so quotes are needed around the word Land.
Step 2: Check correct string format
Double quotes or single quotes can be used, but the option with double quotes and correct capitalization is standard.
Final Answer:
setFailsafeAction("Land") -> Option C
Quick Check:
String with quotes and correct case = setFailsafeAction("Land") [OK]
Hint: Use quotes and correct capitalization for string parameters [OK]
Common Mistakes:
Omitting quotes around the string
Using wrong capitalization
Passing the action as a variable without quotes
3. Given the following code snippet, what will be the drone's behavior if the failsafe is triggered?
failsafe = 'SmartRTL'
if failsafe == 'RTL':
action = 'Return to launch point'
elif failsafe == 'Land':
action = 'Land immediately'
elif failsafe == 'SmartRTL':
action = 'Return home avoiding obstacles'
else:
action = 'Hover in place'
print(action)
medium
A. Return home avoiding obstacles
B. Land immediately
C. Return to launch point
D. Hover in place
Solution
Step 1: Check the value of failsafe variable
The variable failsafe is set to 'SmartRTL'.
Step 2: Follow the if-elif conditions
The code matches the 'SmartRTL' condition and sets action to 'Return home avoiding obstacles'.
Final Answer:
Return home avoiding obstacles -> Option A
Quick Check:
SmartRTL triggers obstacle-avoiding return [OK]
Hint: Match variable value to condition branches carefully [OK]
Common Mistakes:
Choosing the default else action
Confusing SmartRTL with simple RTL
Ignoring case sensitivity in strings
4. Identify the error in this failsafe action code snippet: