Simple Node.js example to show the received data in a web browser from an Universal Robot
NOTE: It is an experimental software. Do not use this in production systems!
THE SOFTWARE IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ANY WARRANTY. IT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
Install Node.js.
- Clone the repository.
- Clone the https://github.com/ABC-iRobotics/ur-state-receiver.git
- Run npm -i in the cloned repositories folders
- Set the cloned ur-state-receiver path in the line: 'const URStateData = require('path_the_cloned_ur-state-receiver')'
- Set your Universal Robot's IP: 'const urStateDataInst = new URStateData(30003, 'your_robot_ip')'
- Run 'node index.js' in the cloned repository folder
- Open a browser and type http://localhost
We acknowledge the financial support of this work by the Hungarian State and the European Union under the EFOP-3.6.1-16-2016-00010 project.
Please use the GitHub issue tracker.