summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <colomar.6.4.3@gmail.com>2020-03-04 08:25:56 +0100
committerAlejandro Colomar <colomar.6.4.3@gmail.com>2020-03-04 08:25:56 +0100
commit44d9b4ed6ace5b607b8a294ab69042c07df3ef3b (patch)
tree4fdf52927dcf43e9faf9a01f50399433ccf8e896
parentd88629c5a831a3fd93f17f94862e1cc15b710652 (diff)
Add scripts for loading environment variables
-rw-r--r--rob/env.sh12
-rw-r--r--rob/env_sim.sh12
2 files changed, 24 insertions, 0 deletions
diff --git a/rob/env.sh b/rob/env.sh
new file mode 100644
index 0000000..e865486
--- /dev/null
+++ b/rob/env.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/sh
+
+export ROBOT_TYPE=ur
+export ROBOT_ADDR=192.168.0.1
+export ROBOT_PORT=30002
+export ROBOT_USER=
+export ROBOT_PASSWD=
+export ROBOT_STATUS_FNAME=status.log
+export ROB_PORT=13100
+export ROB_CAMS_MAX=1
+export DELAY_LOGIN=1000000
+export DELAY_US=100000
diff --git a/rob/env_sim.sh b/rob/env_sim.sh
new file mode 100644
index 0000000..4c480e0
--- /dev/null
+++ b/rob/env_sim.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/sh
+
+export ROBOT_TYPE=
+export ROBOT_ADDR=localhost
+export ROBOT_PORT=30002
+export ROBOT_USER=
+export ROBOT_PASSWD=
+export ROBOT_STATUS_FNAME=status.log
+export ROB_PORT=13100
+export ROB_CAMS_MAX=1
+export DELAY_LOGIN=1000000
+export DELAY_US=100000