Giter VIP home page Giter VIP logo

seedalot's Introduction

Problem:

Farm Designer doesn't provide means to create or delete group of plants with one click. It becomes especially annoying when you want to have many plants of the same kind. For example Carrots

Solution:

This farmware attempts to solve this problem by cloning the "original" plant that you create manually. You specify the number of rows and columns and the farmware fills the field with (rows x columns -1) copies of your "original" plant. The spacing between the plants is taken from openfarm database. If you want to delete automatically created plants - do the same but specify "remove" action instead of "add"

Reference:

  • ORIGINAL PLANT COORDINATES X,Y: coordinates of your "original" plant (example 150,100 )
  • NUMBER OF ROWS: desired number of rows, shall be between 0 and 20
  • NUMBER OF COLUMNS: desired number of columns, shall be between 0 and 20
  • WHAT TO DO WITH NEW PLANTS: action that will be taken on every new plant:
    • "add" - adds a new plant if there is no plant in these coordinates already
    • "remove" - removes a plant if found
    • "log" - just prints info for debug purposes to the log

Installation:

Use this manifest to register farmware https://raw.githubusercontent.com/etcipnja/Seedalot/master/Seedalot/manifest.json

Bugs:

I noticed that if you change a parameter in WebApplication/Farmware form - you need to place focus on some other field before you click "RUN". Otherwise old value is passed to farmware script even though the new value is displayed in the form.

What is next?

It would be a good idea to add manual override for the spacing between the plants in case if someone doens't like default vaule from openfarm

Thank you, Eugene

seedalot's People

Watchers

 avatar  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.