Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

farmbotsimulator-js

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

farmbotsimulator-js

A simulator for the farmbot agricultural robot in nodejs

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

Farmbot Simulator

Farmbot Simulator provides a means of simulating FarmBot (Humanity's first open source CNC agricultural robot). The simulation may be useful in:

  • Schools. It eliminates the cost of acquiring a physical machine while creating several instances of the machine for students. For how it can be used in education see these discussion:
  • Research. It is now possible to use FarmBot software to research new hardware that can eliminate the constraints posed by the FarmBot hardware, chiefly: high cost and size limitations. For such use in research, please see FarmBot-Mega and FarmBot-Juakali.
  • Software development. Custom FarmBot web application software can be created and tested without a physical FarmBot.

But this is just a node-js module. For a working simulation, see FarmBot-Simulator.

Installation

npm install farmbotsimulator-js

Usage

import {statemanager, simulator} from "farmbotsimulator-js"
import events from "events"

const eventEmitter = new events();

//new simulator(eventEmitter);
let stateController = new statemanager({events:eventEmitter});

let [err, care] = await to(
      stateController.checkTokenAndRefresh()
    );
if (err) {
    throw err;
}
stateController.loggedIn(care);

// connect to web applications (mqtt, web app)
stateController.startOrRestartSimulator();

Notes

Farmbot Max

net

Keywords

FAQs

Package last updated on 21 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc