Brak opisu

Martin Kunz d1137c58e5 hack fix protocol errors/changes 5 lat temu
.idea 6b2e377fcb switch to sparkjava 5 lat temu
src d1137c58e5 hack fix protocol errors/changes 5 lat temu
.gitignore 5e20a467ae import 6 lat temu
README.md c5c1139c4d Update 'README.md' 5 lat temu
assembly.xml 5e20a467ae import 6 lat temu
pickorplaceswing.iml 68d2b0741b remove ur plugin stuff 6 lat temu
pom.xml 5a23366e5c ssh integration wip 5 lat temu

README.md

UR10 Robot REST API

/

Index

/cmd

Execute ur scripts Parameters: "script": urscript "CPEE-CALLBACK": ..

/cmdq

Current command queue in json format

/log/:from

Logfile ringbuffer since :from(int)

/freedrive

Enable freedrive/teach - Mode

Usage

Usage: <main class> -p=<port> [-rip=<robotIP>] [-rp=<robotPort>] [-w=<webroot>]
  -p, --port=<port>         HTTP Server port
      -rip, --robotip=<robotIP>
                            Robot ip address
      -rp, --robotport=<robotPort>
                            Robot tcp port
  -w, --webroot=<webroot>   Use webroot from filesystem
./jdk-12+33-jre/bin/java -jar urweb-1.0-SNAPSHOT-shaded.jar

Deployment

systemd service documentation

[Unit]
Description=Urweb
After=syslog.target

[Service]
Type=notify
NotifyAccess=all
WorkingDirectory=/opt/myserver/
ExecStart=/usr/bin/java -server -jar urwebshaded.jar -p=8080 -rip=192.168.30.200 -rp=30001
# WatchdogSec=30
Restart=always

[Install]
WantedBy=multi-user.target