Make a terrain-following mission for Litchi from atomicMapper.
Please note that this project is 'In progress'. Any content might change.
(The instructions might change through the development progess.)
The UAV manufactured by DJI is a powerful tool for mapping. However, the consumer level drone cannot execute a preplanned flight mission. Third party applications like Litchi can control the drone through the SDK and somehow enable the consumer drone to execute flight mission. The atomicMapper is one of the program which helps to plan the photogrammetry mission for Litchi-supported models. This tool will modified the mission exported by atomicMapper (in csv format). It will take the every waypoints and compare them with given terrain raster (e.g. DEM in tiff format). All the height will be adjust to achieve the 'terrain-following' mission.
Construct the 'waypoint' objects which is compatable to read and write the Litchi csv format.
LMIO.py
- The IO module for litchi mission. Two objects, LitchiWaypoint
and LitchiMission
, will handle the io of the Litchi CSV format.
Extract the coordinate information from waypoint and use them as the input of DEM extraction. After comparing with the first waypoint, an adjustment value will be add to each waypoint.
MPP.py
- Mission processing module. Including two major tools:
MPP.extractElevationFromDEM()
: Return the elevation value from given coordinate.MPP.convertToTerrainFollowingMission()
: Import a LMIO.mission
and a terrain data. modify the elevation of each waypoint to achieve the terrain follwing flight.MPP.parseCmdArgs()
: The command line parser.MPP.main()
: Using the command line to execute the program.Please write long docstring to describe the objects or methods. A good example is provide by numpydoc. More discription will be add in the python file.