Coder Social home page Coder Social logo

robotics-upo / fields2cover Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fields2cover/fields2cover

1.0 1.0 1.0 1.12 MB

Robust and efficient coverage paths for autonomous agricultural vehicles

License: BSD 3-Clause "New" or "Revised" License

C++ 87.35% CMake 12.19% Dockerfile 0.46%

fields2cover's Introduction

Fields2Cover

Robust and efficient coverage paths for autonomous agricultural vehicles

image

The extended documentation is here.

The coverage path planning problem (CPP) aims to create a path to cover an area with one or several vehicles. CPP has many application as cleaning robots, surveillance, de-mining or agriculture. Each of the application has its own requirements. For example, in cleaning robots environment is usually unknown and the objective is improve the probability of cover the area. On the other hand, CPP in agriculture knows the area to cover, but the coverage has to be complete.

Fields2Cover library provides several algorithms to plan the coverage path on convex fields:

image

Although the development of this project is focused on offline planning of agricultural vehicles, the library accepts pull requests from other types of coverage planners.

Why?

There are many CPP papers out there, but almost no code about their implementation. Due to this, research about this topic is slow as you need to implement every algorithm you want to compare with.

Fields2Cover provides a flexible structure and several algorithms to compare with, so any developer can research about this topic easily.

Installation

The Fields2Cover package has only been tested on Ubuntu 20.04. If you are able to run it in other operative systems, open an issue/PR and it will be added to this guide

Requirements on Linux

Some packages are needed before compiling the package:

sudo add-apt-repository -y ppa:ubuntugis/ppa
sudo apt-get -y update
sudo apt-get install -y --no-install-recommends build-essential ca-certificates cmake \
     doxygen g++ git libeigen3-dev libgdal-dev libpython3-dev python3 python3-pip \
     python3-matplotlib lcov libgtest-dev 
python -m pip install gcovr

Compilation

First, clone this repository. Then, from the main folder of the project:

cd build;
cmake -DCMAKE_BUILD_TYPE=Release ..;
make -j$(nproc);
sudo make install;

Add it to your projects

To add Fields2Cover into your CMakeLists.txt, it is as easy as:

find_package(Fields2Cover REQUIRED)
target_link_libraries(<<<your_package>>> Fields2Cover)

Contribute

If you find any issue/bug/proposal, open an issue and we will try to solve/discuss it.

Pull requests are more than welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

License

Fields2Cover project is under BSD-3 license.

TODO

  • Create SWIG interface with Python/Lua/R
  • Support Route planners with metaheuristics
  • Support non-convex fields
  • Consider the start and end point of the vehicle
  • ...

Credits and more info ----------

This library is only possible thanks to GDAL who provides the basic types of this library. Other great libraries that made Fields2Cover possible are hbanzhaf/steering_functions, nlohmann/json, leethomason/tinyxml2, ttk592/spline and lava/matplotlib-cpp

This code repository is part of the project Fields2Cover which is (partly) financed by the Dutch Research Council (NWO).

fields2cover's People

Contributors

gonzalo-mier avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

gaows123

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.