@things-factory/node-urx

0.1.1 • Public • Published

node-urx

Universal Robot client module for nodejs

Base code

python-urx: https://github.com/SintefManufacturing/python-urx

Universal Robots

Install

$ npm install @things-factory/node-urx --save

Examples

Run the examples from the examples directory.

Moving Robot Arm

const { UrRobot } = require('@things-factory/node-urx')

;(async function () {
  var ur = new UrRobot('192.168.0.34')
  await ur.connect()
  console.log(await ur.getStatus())
  let inputPose = await ur.getl(true)
  inputPose[2] += 0.1
  await ur.movel(inputPose, 0.1, 0.1, true, false)
  inputPose[2] -= 0.1
  await ur.movel(inputPose, 0.1, 0.1, true, false)
  ur.disconnect()
  console.log('done')
})()
})()

API Documentation

...

Test

npm test.

Readme

Keywords

none

Package Sidebar

Install

npm i @things-factory/node-urx

Weekly Downloads

60

Version

0.1.1

License

MIT

Unpacked Size

135 kB

Total Files

36

Last publish

Collaborators

  • shortstop
  • nalshya113
  • woo_ram
  • jinwon_in_hatio
  • jyp220
  • heartyoh
  • horwengliang95
  • chris_lim7150
  • joekin
  • jinwon