terraclip


Nameterraclip JSON
Version 1.0b2 PyPI version JSON
download
home_page
SummaryAnti-collision Ardupilot terrain following mission generator.
upload_time2023-10-08 05:01:11
maintainer
docs_urlNone
author
requires_python>=3.1
license
keywords
VCS
bugtrack_url
requirements gdalwrap requests certifi numpy
Travis-CI No Travis.
coveralls test coverage No coveralls.
            This is a python class to generate Ardupilot mission files and auxiliary files (Stats file and export files). 
The output mission file contains WP's set to 'ABSOLUTE' heights for better mission previsibility and can be imported directly in Mission Planner.  

## Beta (and use at your own risk)
- Evaluation site: https://rodrigo-nh.github.io/TerraclipTestPage/
## Features
- Configurable parameters (flight altitude, altitude tolerance, max distance between WPs, takeoff/land optional commands)
- Anti-collision check, guarantees minimal altitude above ground along all flight path
- Exports to reference KML file (and other formats) containing 3D WP's, paths and stats
- Doesn't care about your vector/DEM input files DATUM/CRS, converts accordingly
- Downloads necessary DEM scenes automatically (requires a Open Topography API key https://opentopography.org/) or loads custom user DEM.
- Outputs a stat file containing minimal flight altitude, max flight altitude, max generated inclination and suggested RTL_ALT (max DEM scene altitude plus ```<flightAlt>```)
## How it works
- Draw a path in GoogleEarth containing desired flight path. Export the path to a KML/KMZ file. Generated mission will respect the vertices from your path, converting vertices to WP's.  
   
- Check example.py about how to use it. The parameters are set by the command:  
  
  ```setparams(<flightAlt>, <tolerance>, <maxDistBetweenWPs>, Takeoff=<bool>, Land=<bool>)```  
  
  ```<flightAlt>``` => Flight altitude above ground. This will be the minimal altitude to be respected along all path  
  ```<tolerance>``` => Flight altitude tolerance (in %). Means Minimal altitude along path can reach ```<flightAlt>``` minus tolerance  
  ```<maxDistBetweenWPs>``` => Divide your original WP's into sections (creating another WP's), respecting this max distance between WP's. The lower this parameter the more a 'terrain following' effect. Set this to zero to not create any aditional WP's.  
  ```Takeoff=<bool>``` => Optional. Converts the first WP's from your file into Takeoff command  
  ```Land=<bool>``` => Optional. Converts the last WP from your file into Land command.  
## How to install
- pip install terraclip
- Requires Python > 3
- Requires gdal python bindings (Windows users can try this recipe for the python bindings https://gist.github.com/Rodrigo-NH/94d1fe07646052ad32133824c85b4221)
- Requires numpy and gdalwrap (check requirements.txt)
            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "terraclip",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.1",
    "maintainer_email": "",
    "keywords": "",
    "author": "",
    "author_email": "Rodrigo Nascimento Hernandez <rodrigomdev@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/96/1a/a0e03c160cb62b27a66b39416eaa72588d16775e71720e1ae0d15586fd53/terraclip-1.0b2.tar.gz",
    "platform": null,
    "description": "This is a python class to generate Ardupilot mission files and auxiliary files (Stats file and export files). \nThe output mission file contains WP's set to 'ABSOLUTE' heights for better mission previsibility and can be imported directly in Mission Planner.  \n\n## Beta (and use at your own risk)\n- Evaluation site: https://rodrigo-nh.github.io/TerraclipTestPage/\n## Features\n- Configurable parameters (flight altitude, altitude tolerance, max distance between WPs, takeoff/land optional commands)\n- Anti-collision check, guarantees minimal altitude above ground along all flight path\n- Exports to reference KML file (and other formats) containing 3D WP's, paths and stats\n- Doesn't care about your vector/DEM input files DATUM/CRS, converts accordingly\n- Downloads necessary DEM scenes automatically (requires a Open Topography API key https://opentopography.org/) or loads custom user DEM.\n- Outputs a stat file containing minimal flight altitude, max flight altitude, max generated inclination and suggested RTL_ALT (max DEM scene altitude plus ```<flightAlt>```)\n## How it works\n- Draw a path in GoogleEarth containing desired flight path. Export the path to a KML/KMZ file. Generated mission will respect the vertices from your path, converting vertices to WP's.  \n   \n- Check example.py about how to use it. The parameters are set by the command:  \n  \n  ```setparams(<flightAlt>, <tolerance>, <maxDistBetweenWPs>, Takeoff=<bool>, Land=<bool>)```  \n  \n  ```<flightAlt>``` => Flight altitude above ground. This will be the minimal altitude to be respected along all path  \n  ```<tolerance>``` => Flight altitude tolerance (in %). Means Minimal altitude along path can reach ```<flightAlt>``` minus tolerance  \n  ```<maxDistBetweenWPs>``` => Divide your original WP's into sections (creating another WP's), respecting this max distance between WP's. The lower this parameter the more a 'terrain following' effect. Set this to zero to not create any aditional WP's.  \n  ```Takeoff=<bool>``` => Optional. Converts the first WP's from your file into Takeoff command  \n  ```Land=<bool>``` => Optional. Converts the last WP from your file into Land command.  \n## How to install\n- pip install terraclip\n- Requires Python > 3\n- Requires gdal python bindings (Windows users can try this recipe for the python bindings https://gist.github.com/Rodrigo-NH/94d1fe07646052ad32133824c85b4221)\n- Requires numpy and gdalwrap (check requirements.txt)",
    "bugtrack_url": null,
    "license": "",
    "summary": "Anti-collision Ardupilot terrain following mission generator.",
    "version": "1.0b2",
    "project_urls": {
        "Bug Tracker": "https://github.com/Rodrigo-NH/Terraclip/issues",
        "Homepage": "https://github.com/Rodrigo-NH/Terraclip"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "13b531c5a5a9eecaddcf69786e03d2c5f0e0e9d8b401f22f44c2cd8bbdad7c41",
                "md5": "a073f7a0e67055f28f9bd53174f906eb",
                "sha256": "849d8ce5ece82c92cbc6362ce66fe5a7015f5c430c9c48c1df3f0560b2982286"
            },
            "downloads": -1,
            "filename": "terraclip-1.0b2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a073f7a0e67055f28f9bd53174f906eb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.1",
            "size": 8149,
            "upload_time": "2023-10-08T05:01:08",
            "upload_time_iso_8601": "2023-10-08T05:01:08.993175Z",
            "url": "https://files.pythonhosted.org/packages/13/b5/31c5a5a9eecaddcf69786e03d2c5f0e0e9d8b401f22f44c2cd8bbdad7c41/terraclip-1.0b2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "961aa0e03c160cb62b27a66b39416eaa72588d16775e71720e1ae0d15586fd53",
                "md5": "094c78781a5a9f68b50a407d95731a6f",
                "sha256": "7fbdf4457fd3f73fb60235111f975414c89a856a8f148f8ae85c63aae11dd72f"
            },
            "downloads": -1,
            "filename": "terraclip-1.0b2.tar.gz",
            "has_sig": false,
            "md5_digest": "094c78781a5a9f68b50a407d95731a6f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.1",
            "size": 8319,
            "upload_time": "2023-10-08T05:01:11",
            "upload_time_iso_8601": "2023-10-08T05:01:11.216237Z",
            "url": "https://files.pythonhosted.org/packages/96/1a/a0e03c160cb62b27a66b39416eaa72588d16775e71720e1ae0d15586fd53/terraclip-1.0b2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-08 05:01:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Rodrigo-NH",
    "github_project": "Terraclip",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "gdalwrap",
            "specs": []
        },
        {
            "name": "requests",
            "specs": []
        },
        {
            "name": "certifi",
            "specs": []
        },
        {
            "name": "numpy",
            "specs": []
        }
    ],
    "lcname": "terraclip"
}
        
Elapsed time: 0.13907s