Skip to content
Snippets Groups Projects
Select Git revision
  • f486f86c6c1aff3248fb556541fe1a18ca456c46
  • master default protected
  • v0.10.0
  • v0.10.0-rc2
  • v0.10.0-rc1
  • v0.9.0
  • v0.9.0-rc1
  • v0.8.0
  • v0.8.0-rc2
  • v0.8.0-rc1
  • v0.7.0
  • v0.7.0-rc2
  • v0.7.0-rc1
  • v0.6.1
  • v0.6.0
  • v0.6.0-rc2
  • v0.6.0-rc1
  • v0.5.0
  • v0.5.0-rc2
  • v0.5.0-rc1
  • v0.4.0
  • v0.4.0-rc2
22 results

openocd_nrf52_patch

Automatakit API

what it do

... now ...

  • happy with module writing?

  • with setting?

  • state variables look like variables in module writing

  • system wraps in setters / getters

  • system has this.state.onChange('varname', function(){ fn code })

  • refactor ui with new everything

  • terminal serves terminal input line (client, css)

  • input lines comes thru to setter

  • hook in terminal ? output on output ...

remember

you have friends

  • bro
  • sean
  • nathan

links to things

http://designmodo.github.io/Flat-UI/

http://workshop.chromeexperiments.com/examples/gui/#1--Basic-Usage

bootstrap, numeric.js ...

http://backbonejs.org/#Events

Desires

  • load / keep state

Model Consistency

In Memory: array of modules

Saved / interfaced with: json of this - so to load from this, we need paths and ids attached to each module on load time.

To wrap / add heirarchy: this json object can be loaded the same as a program, given top level inputs and outputs, and made into another require()d module.

Modules are tiny programs, specifics (inputs, outputs, state) are read by system and wrapped into UI. UI has access to write into state, and connect events together.

To wrap, we write a representation in api-type rep, with one connection. We output the 'text line' of a Terminal into the 'text input' input of a gcode parser, and see the output / state bubble through the UI.

  • to test, cleanup and write gcode obj
  • confirm state change comes down to server
  • confirm event bubbles through in server
  • push event back to server ui ? dat.updatedisplay() ?

For extra points, we read in the connection also with an SVG layer - iterating through connections of the represented program.

The RPI