Releases: beardicus/line-us
Releases · beardicus/line-us
v3.1.0
v2.1.0
Added
- A
concurrencyparameter has been added to the constructor, with a default value of3. This parameter controls how many commands can be "in flight" and buffered by the Line-us machine. Setting this to higher values can smooth out operation over unreliable or high-latency connections. The default value of3seems good for most local Wifi situations.
Fixed
.coordinateswill now be set to the home coordinates ({x: 350, y: 0, z: 1000}) after a connection is established, as the Line-us machine does a homing sequence as part of the connection process. Previously we would returnundefinedcoordinates until after the first move.
v2.0.0
Changed
.pause()now lifts the arm by default, and returns it to the previouszheight upon.resume(). It returns a promise that resolves when the machine is actually paused.
Fixed
npm run test-browsernow finishes and exits properly.- The README erroneously stated that coordinates were emitted from the machine as soon as a command is accepted at the beginning of a movement. The response actually comes when the movement is complete. Updated README to reflect that
coordinateevents are emitting the coords of the last completed movement.