node-goose

0.1.2 • Public • Published

node-goose | Dobot SerialPort Driver and Gcode Interpreter Service

update:

  • complete: refactor to socket.io complete to reduce i/o overhead
  • pending: change camera service from periodic http:GET to stream

logo by https://thenounproject.com/creativestall/

installation:

install core modules

install openCV binaries (optional)

install node-opencv (optional)

  • git submodule init
  • git submodule update
  • cd private/node-opencv
  • npm install

usage:

  • node server.js
  • access controls at localhost:80 via web browser

demo laser cutting

GUI v0.2

GUI V0.2

System Architecture

System Architecture V0.2

driver details (/private/drivers)

Component Description
Dobot.js top level dobot class
DobotCommandBuffer.js writes buffer dobot can understand for each command
DobotCommandQueue.js state management and queueing of gcode program commands
DobotComputerVision.js camera and vision tracking methods using opencv
DobotFileManager.js file management for gcode programs
DobotGcodeInterpreter.js parses gcode command string and dispatches object to send to commandbuffer
DobotJogCommand.js parses request for jog move and dispatches object to send to commandbuffer
DobotResponseParser.js parses response from dobot into state values (position, rotation, etc).
DobotSerial.js creates, maintains, and controls serialport connection to dobot

check back for updates soon

Readme

Keywords

Package Sidebar

Install

npm i node-goose

Weekly Downloads

2

Version

0.1.2

License

MIT

Last publish

Collaborators

  • rniice