0
0
Drone Programmingprogramming~10 mins

Surveying and mapping with photogrammetry in Drone Programming - Step-by-Step Execution

Choose your learning style9 modes available
Concept Flow - Surveying and mapping with photogrammetry
Plan flight path
Drone flies and takes photos
Collect images
Upload images to software
Software processes images
Generate 3D map and measurements
Review and export results
The drone flies a planned path taking photos, which are processed to create maps and measurements.
Execution Sample
Drone Programming
def photogrammetry_survey(area):
    flight_path = plan_path(area)
    images = drone_capture(flight_path)
    map_3d = process_images(images)
    return map_3d
This code plans a flight, captures images with a drone, processes them, and returns a 3D map.
Execution Table
StepActionInputOutputNotes
1Plan flight patharea coordinatesflight_path coordinatesDefines where drone will fly
2Drone flies and captures photosflight_pathimages setPhotos taken at intervals
3Upload images to softwareimages setimages ready for processingPrepare images for mapping
4Process imagesimages ready3D map dataSoftware matches points and builds map
5Return 3D map3D map data3D map outputFinal map ready for use
💡 All steps complete, 3D map generated from drone images
Variable Tracker
VariableStartAfter Step 1After Step 2After Step 3After Step 4Final
areagivengivengivengivengivengiven
flight_pathnonecoordinatescoordinatescoordinatescoordinatescoordinates
imagesnonenonephotos setphotos setphotos setphotos set
map_3dnonenonenonenone3D map data3D map output
Key Moments - 3 Insights
Why do we need to plan the flight path before flying?
Planning the flight path (Step 1) ensures the drone covers the entire survey area systematically, which is shown in the execution_table row 1.
What happens if images are not uploaded correctly to the software?
If images are not uploaded (Step 3), the software cannot process them to create the 3D map, so the process stops before Step 4 as shown in the execution_table.
Why does the drone take many photos instead of just one?
Multiple photos from different angles help the software match points and build an accurate 3D map, as explained in Step 4 of the execution_table.
Visual Quiz - 3 Questions
Test your understanding
Look at the execution table, what is the output after Step 2?
Aflight_path coordinates
Bimages set
C3D map data
Dphotos ready for processing
💡 Hint
Check the 'Output' column for Step 2 in the execution_table.
At which step does the software create the 3D map?
AStep 4
BStep 3
CStep 1
DStep 5
💡 Hint
Look at the 'Action' and 'Output' columns in the execution_table for where '3D map data' is produced.
If the flight path is not planned correctly, which variable will be affected first?
Aimages
Bmap_3d
Cflight_path
Darea
💡 Hint
Refer to variable_tracker to see which variable changes after Step 1.
Concept Snapshot
Surveying with photogrammetry:
1. Plan drone flight path over area.
2. Drone captures overlapping photos.
3. Upload images to processing software.
4. Software builds 3D map from images.
5. Export and use map for measurements.
Full Transcript
Surveying and mapping with photogrammetry involves planning a drone flight path over the survey area. The drone flies this path and takes many photos from different angles. These images are uploaded to special software that processes them by matching points in overlapping photos. This process creates a detailed 3D map of the area. The final map can be reviewed and exported for use in measurements and analysis. Each step changes variables like flight_path, images, and map_3d as shown in the execution table and variable tracker.