Nexat Terrain Routing And Coverage Engine
A sophisticated complete coverage path planning library developed for controlled traffic farming applications. Specifically useful for vehicles with nonholonomic steering kinematics that have a similar turning radius to its track / working width.
Features
Complete coverage path planning
This library excels in robust & intelligent route optimization and curve planning for complex field geometries.
Flexible route / task specification
The route planner has a lot of options and parameters that change the way the route is planned and how the curves are calculated.
Planner parameters include:
- Start / finish location
- Variable working width (multiple of tack width e.g. for spraying applications)
- Block working configuration (group sets of neighboring ab lines together)
- Reusing existing paths on a track system to minimize soil compaction
- Working corridor error avoidance
- Multiple turning maneuvers
- Weighted prioritization of overall distance vs overall coverage
Installation
Releases of this library are hosted on pip
pip install nexat-trace
Usage
When using this library, you should start with generating a track system. The TrackSystem class provides basic track system generation from an outer field border:
from nexat_trace import TrackSystem
track_system = TrackSystem.from_border(
field_border, # your outer field border as a shapely Polygon with holes as obstacles
14.0, # desired track width in meters
reference_ab_line, # reference LineString within your field border
[0.5, 1.0, 1.0, 0.5] # headland widths configuration
)
To use this library most effectively, you should generate your own specific track systems with field border, headlands, obstacles, AB lines and obstacle avoidance segments.
Now it is time to configure the planner parameters to match the desired task definition. Here is a basic example:
from nexat_trace import RoutePlanner, CorridorStrategy
planner = RoutePlanner()
# should be whole multiple of track width
planner.route_params.working_width = 14.0
# ignore working corridor errors for now
planner.route_params.corridor_strategy = CorridorStrategy.DRIVE_NONE
# neutral distance optimizing weights
planner.route_params.weights.headland_distance_factor = 1.0
planner.route_params.weights.headland_cost_exponent = 1.0
Now a route can be planned using the prepared track system and configured planner:
route = planner.plan_route_from_track_system(
track_system, # prepared track system instance
5, # time in s spent doing guided local search optimization
)
path = route.get_linestring()
The route can be plotted using the utility functions:
from nexat_trace.util import plot_geometry as pg
pg.plot_linestring_rainbow(path)
pg.show_plot()
Developing
When developing on linux you can use
source setup_venv.sh
to setup & activate a python venv with all development dependencies. The script also builds and installs the pydubins extension.
Now files in the root of the repo like example_basic.py or example_complex.py can be ran and debugged running code in this repo.
Credits
This library depends on shapely, ortools and numpy as well as pydubins.
The pydubins module is redistributed in the nexat-trace package. See THIRD_PARTY file for license info of the pydubins software.
Metadata
Release files for nexat-trace 1.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 5.1 MB
Release files / nexat_trace-1.1.8-cp313-cp313-win_amd64.whl
| Download URL | nexat_trace-1.1.8-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 132.4 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
77872fd02ef388fc488891f6852cd52c69fe41d4fbb3973f93d7eee67abad520
|
|
BLAKE2b-256 checksum How to use checksums |
3d9431fe276465cbf5e56d130fff0197220b845dd2358b424644e348209c1f88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / nexat_trace-1.1.8-cp313-cp313-win32.whl
| Download URL | nexat_trace-1.1.8-cp313-cp313-win32.whl |
|---|---|
| Size | 129.5 kB |
| Tags | CPython 3.13 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
053a78b21209b4e7934e58c6ed1c82f6d5ae0510a5d5c10c8c4a4b213735ca31
|
|
BLAKE2b-256 checksum How to use checksums |
9227f221b745edf4f56927ecb9fd498f7f4be146075417452e9b6e4800804509
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / nexat_trace-1.1.8-cp313-cp313-musllinux_1_2_x86_64.whl
| Download URL | nexat_trace-1.1.8-cp313-cp313-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 354.0 kB |
| Tags | CPython 3.13 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
a6821ebe570663852d35e4411eb9522e58f055c6d5d3a274f37df3c2ac6cf23c
|
|
BLAKE2b-256 checksum How to use checksums |
1ec299e6beb02ec3fa119ba918cec5341a8c4eb5b7c15f25b15373ad1dc50843
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / nexat_trace-1.1.8-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | nexat_trace-1.1.8-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 354.6 kB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
ff71a35fd9fb1968083575c2d93fb0f8501d2aee4207f0a6a3b2817084ed2462
|
|
BLAKE2b-256 checksum How to use checksums |
75e7b2901484e4094c5b7b1263a8844e3344848c4b46dbd26419e27bb6aa1a26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / nexat_trace-1.1.8-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | nexat_trace-1.1.8-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 139.1 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
c4584937e094798f39dbaf7e5f850c385d85d7fc93f69af4bc779405c6e883a9
|
|
BLAKE2b-256 checksum How to use checksums |
6c23471dd7bbc32c2284b8c8049b5746f9d239e27b1cc8de2e8f088edcafd031
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / nexat_trace-1.1.8-cp312-cp312-win_amd64.whl
| Download URL | nexat_trace-1.1.8-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 133.2 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9246360d5c9fa8abee97753b631c104604cfced4a3253432894691df40b8cc6a
|
|
BLAKE2b-256 checksum How to use checksums |
0d4ef7ddb1865530bae39f9995f18db9bb69f37f5abb30f341a5d2be83a7c5f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / nexat_trace-1.1.8-cp312-cp312-win32.whl
| Download URL | nexat_trace-1.1.8-cp312-cp312-win32.whl |
|---|---|
| Size | 130.0 kB |
| Tags | CPython 3.12 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
706d2bfe9556de136551fe1fc4378adeb090b69b97a90feb7e23395c80d68f8e
|
|
BLAKE2b-256 checksum How to use checksums |
f5b05aa065777417ad276ba8ebf598e947b0aba3948eaf68b1a6d0978e454e20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / nexat_trace-1.1.8-cp312-cp312-musllinux_1_2_x86_64.whl
| Download URL | nexat_trace-1.1.8-cp312-cp312-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 361.2 kB |
| Tags | CPython 3.12 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
1c6cfac5bcc1cac98c46ba57a4ce36b82157bb4987180f11a28c8b36875e720e
|
|
BLAKE2b-256 checksum How to use checksums |
371782f1ad42ad96cbd7fcc6a760758e8524cf829cbb70ec8559fed328692864
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / nexat_trace-1.1.8-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | nexat_trace-1.1.8-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 363.3 kB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
58093a9daf8c6c18f9deecc593c0bc1053f3f9d0e8f731e9afd978f1af2f400f
|
|
BLAKE2b-256 checksum How to use checksums |
55e7a3cca4cf43801e7bc9deee2180e26aa7338233a10bdad3393c7272ef4ea3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / nexat_trace-1.1.8-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | nexat_trace-1.1.8-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 140.1 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
65de5222431a334b3e8d69c09889f969150ee02f9599ef2c642c4ad29e7d9eb9
|
|
BLAKE2b-256 checksum How to use checksums |
3403ea192e7ad166901e5a8c2d82dfc5cdcb29bed8e9deb4ce8c91451245a1f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / nexat_trace-1.1.8-cp311-cp311-win_amd64.whl
| Download URL | nexat_trace-1.1.8-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 132.8 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
bc0680a881489c353579911f44b7e0c71351d3ff1cda36e9d6694a2fffcebcc0
|
|
BLAKE2b-256 checksum How to use checksums |
6b0334c8695072bf8c87a4304a001cd302a9469907caf81fb3956e869c7e0159
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / nexat_trace-1.1.8-cp311-cp311-win32.whl
| Download URL | nexat_trace-1.1.8-cp311-cp311-win32.whl |
|---|---|
| Size | 129.7 kB |
| Tags | CPython 3.11 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
e5141e09b7d55421b1ebebc074afb43f1f01b2aa5f2d23db400aa1e155c51873
|
|
BLAKE2b-256 checksum How to use checksums |
371286ae7ff23c78000fec9d57de73ea279fa2bfe94f429cf1ace91a8c35d895
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / nexat_trace-1.1.8-cp311-cp311-musllinux_1_2_x86_64.whl
| Download URL | nexat_trace-1.1.8-cp311-cp311-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 352.4 kB |
| Tags | CPython 3.11 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
209b73d59c4a6b1933d10a9bbe7b3128aea4a44e58ef0d34ef0f5c397beaf724
|
|
BLAKE2b-256 checksum How to use checksums |
90c7fb0d209f938446f8f0124a0ed32d976d7fef2c5bfa210280088bb3ec2f11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / nexat_trace-1.1.8-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl
| Download URL | nexat_trace-1.1.8-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl |
|---|---|
| Size | 352.6 kB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
b25ce4fad099a2a60df82f84b362934bf4902d0af97e586aeb90259bd17bd01e
|
|
BLAKE2b-256 checksum How to use checksums |
9b92de624aa1ae376c7ea0ce0e639c176dfbe3e7511464c5ce0a323c699710a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / nexat_trace-1.1.8-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | nexat_trace-1.1.8-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 139.6 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
162702654093466e1928cce9391ed8374a5da238ea3b2ee428502f73bb5e90f1
|
|
BLAKE2b-256 checksum How to use checksums |
f4147f4c92abb057e8235762482c5efbe361431729e4c41d3430d5f5515964ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / nexat_trace-1.1.8-cp310-cp310-win_amd64.whl
| Download URL | nexat_trace-1.1.8-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 132.6 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
903e5ad27a3970e36af0a09af10f26f8bbb1d8de68d0ca1f666c3a9af4cd73b7
|
|
BLAKE2b-256 checksum How to use checksums |
d2c18da4c93e4e6853a657ff86efd884d53cac7e51ff9ba839bf4a6835d00825
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / nexat_trace-1.1.8-cp310-cp310-win32.whl
| Download URL | nexat_trace-1.1.8-cp310-cp310-win32.whl |
|---|---|
| Size | 129.8 kB |
| Tags | CPython 3.10 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
9f31be5da9b6e7163a6363d34b60a98d398d7cae5ed31d24c6a70737e00ce5b4
|
|
BLAKE2b-256 checksum How to use checksums |
1997f060fea9b2863d8acb7cc7991e2f1830729c9562193521f8c0ffd2fd9947
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / nexat_trace-1.1.8-cp310-cp310-musllinux_1_2_x86_64.whl
| Download URL | nexat_trace-1.1.8-cp310-cp310-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 337.6 kB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
53d33981c8a4bcab5db6601638871648f72b6f9e051ef7304bb81feef03bc13c
|
|
BLAKE2b-256 checksum How to use checksums |
e4f96885d9db0d1cbd917db16d96d9d7aa1a849d894447dbad7edd01b4edea77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / nexat_trace-1.1.8-cp310-cp310-musllinux_1_2_i686.whl
| Download URL | nexat_trace-1.1.8-cp310-cp310-musllinux_1_2_i686.whl |
|---|---|
| Size | 325.4 kB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-32 |
|
SHA-256 checksum How to use checksums |
ce95b131524b3337e38016165e61dee177adc5c19a1a38b971adf030c48242b3
|
|
BLAKE2b-256 checksum How to use checksums |
23c19c5e253ef20be10aa5ab089c01e7336e35df4405d3a9439294a5c3c63930
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / nexat_trace-1.1.8-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | nexat_trace-1.1.8-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 337.5 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
e3bd1cc66066fbf58ae97515c7adf02cf8ca76fe5a0790f3f69df01f15f80bb8
|
|
BLAKE2b-256 checksum How to use checksums |
e37cfd1b2a09682e25a05b2e23976f855f2b834b3ed50635b2af9d5908bc9843
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / nexat_trace-1.1.8-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
| Download URL | nexat_trace-1.1.8-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl |
|---|---|
| Size | 322.7 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-32 Linux glibc 2.5+ x86-32 |
|
SHA-256 checksum How to use checksums |
46ab1e31bbc5371ff506f67ef8d5e7ec7d48a187e76ebbe9198ccffa9150d327
|
|
BLAKE2b-256 checksum How to use checksums |
8e49e622ed8eee60522dd0405d764eb0c8a9d070a6e77a96a2517959780c9be0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / nexat_trace-1.1.8-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | nexat_trace-1.1.8-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 139.7 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
73b2383880b9211eb59f8f52fe62a7281f5439845c6918a4ad6029ec35b7f54b
|
|
BLAKE2b-256 checksum How to use checksums |
0bbff1a127b1696bb1bb81b463d0afeab39a3a4488bd1730c6977f79208ba750
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for nexat-trace 1.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.