Giter VIP home page Giter VIP logo

dji-phantom4rtk-waypointdesgin's Introduction

DJI-Phantom4RTK-WaypointDesgin

desgin waypoints for phantom4RTK UAV (为精灵4RTK无人机设计航点)

Requirement

python 3.x (the python version I used is 3.5 or higher)
numpy
matplotlib

File Construction

|--data
|  |--objCoords.txt     //the file records the geodetic coordinates of targets
|  |--readme.txt        //explain the format of objCoords.txt)
|--KML                  //the directory where the kml files output
|--box_08_05            //some photos shooted by P4R aircraft following the kml file generated by these scripts. 
                        //you can import those photos into metashape or context capture to have a look.
|--computeWayPointsCoords.py //the python script which can generate kml files
|--support.py           //the python script which includes some supporting functions.

Usage

you'd better to run the "computeWayPointsCoords.py" in the commandline:

cd root_path (where you save the "computeWayPointsCoords.py" and other scripts)
python computeWayPointsCoords.py shootDistance homeAltitude waypointsNumber

you can find that there are three args after the script. the first arg "shootDistance" represent the distance between aircraft and target, the second arg "homeAltitude" represent the absolute altitude (WGS-84) of take off point (which is also called "home point") , the third arg "waypointsNumber" represent the number of waypoints.

currently, I just design the waypoints for the single independent target, such as pier, single building, single tree etc and so on. the rendering just like:
rendering image

dji-phantom4rtk-waypointdesgin's People

Contributors

poxiao2 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.