Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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)

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

Metadata

Release files for terraclip 1.0b2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for terraclip 1.0b2
File Size Uploaded
terraclip-1.0b2.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for terraclip 1.0b2
File Interpreter ABI Platform
terraclip-1.0b2-py3-none-any.whl Python 3 none any Details

Total release size: 16.5 kB

Release files / terraclip-1.0b2.tar.gz

Download URL terraclip-1.0b2.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7fbdf4457fd3f73fb60235111f975414c89a856a8f148f8ae85c63aae11dd72f
BLAKE2b-256 checksum
How to use checksums
961aa0e03c160cb62b27a66b39416eaa72588d16775e71720e1ae0d15586fd53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.5

Release files / terraclip-1.0b2-py3-none-any.whl

Download URL terraclip-1.0b2-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
849d8ce5ece82c92cbc6362ce66fe5a7015f5c430c9c48c1df3f0560b2982286
BLAKE2b-256 checksum
How to use checksums
13b531c5a5a9eecaddcf69786e03d2c5f0e0e9d8b401f22f44c2cd8bbdad7c41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.5

Release history Release notifications | RSS feed

This release

1.0b2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page