Dobot SerialPort Driver and Gcode Interpreter Service
JavaScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
documentation
private
public
screenshots
test
.gitmodules
Gruntfile.js
README.md
config.json
index.js
package.json
server.js

README.md

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