43
43
echo
44
44
echo " Syntax: ` basename " $0 " ` [-m|s|h]"
45
45
echo " options:"
46
- echo " -m <model> Robot model. One of [ur3, ur3e, ur5, ur5e, ur7e, ur10e, ur12e, ur16e, ur15, ur20, ur30]. Defaults to ur5e."
46
+ echo " -m <model> Robot model. One of [ur3, ur3e, ur5, ur5e, ur7e, ur8long, ur10e, ur12e, ur16e, ur15, ur20, ur30]. Defaults to ur5e."
47
47
echo " -v <version> URSim version that should be used.
48
48
See https://hub.docker.com/r/universalrobots/ursim_e-series/tags
49
49
for available versions. Defaults to 'latest'"
@@ -86,7 +86,7 @@ get_series_from_model()
86
86
ur3e|ur5e|ur7e|ur10e|ur12e|ur16e)
87
87
ROBOT_SERIES=e-series
88
88
;;
89
- ur15|ur20|ur30)
89
+ ur8long| ur15|ur20|ur30)
90
90
ROBOT_SERIES=e-series
91
91
;;
92
92
* )
@@ -125,7 +125,7 @@ strip_robot_model()
125
125
ROBOT_MODEL=${robot_model^^}
126
126
else
127
127
ROBOT_MODEL=${robot_model^^}
128
- # UR15, UR20 and UR30 need no further adjustment
128
+ # UR8LONG, UR15, UR20 and UR30 need no further adjustment
129
129
if [[ " $robot_model " = @ (ur3e| ur5e| ur10e| ur16e) ]]; then
130
130
ROBOT_MODEL=$( echo " ${ROBOT_MODEL: 0: $((${# ROBOT_MODEL} -1))} " )
131
131
elif [[ " $robot_model " = @ (ur7e| ur12e) ]]; then
@@ -153,6 +153,8 @@ validate_parameters()
153
153
local MIN_UR30=" 5.15.0"
154
154
local MIN_UR7e=" 5.22.0" # and UR12e
155
155
local MIN_UR7e_X=" 10.9.0" # and UR12e
156
+ local MIN_UR8LONG=" 5.23.0"
157
+ local MIN_UR8LONG_X=" 10.11.0"
156
158
157
159
local URSIM_VERSION_CHECK=" $URSIM_VERSION "
158
160
if [[ " $URSIM_VERSION " == " latest" ]]; then
@@ -182,7 +184,7 @@ validate_parameters()
182
184
verlte " $MIN_CB3 " " $URSIM_VERSION_CHECK " && return 0
183
185
;;
184
186
e-series)
185
- if [[ $ROBOT_MODEL != @ (ur3e| ur5e| ur7e| ur10e| ur12e| ur16e| ur15| ur20| ur30) ]]; then
187
+ if [[ $ROBOT_MODEL != @ (ur3e| ur5e| ur7e| ur8long | ur10e| ur12e| ur16e| ur15| ur20| ur30) ]]; then
186
188
echo " $ROBOT_MODEL is no valid e-series model!" && exit 1
187
189
fi
188
190
if [[ $ROBOT_MODEL == " ur15" ]]; then
@@ -193,6 +195,8 @@ validate_parameters()
193
195
MIN_VERSION=$MIN_UR30
194
196
elif [[ $ROBOT_MODEL == " ur7e" || $ROBOT_MODEL == " ur12e" ]]; then
195
197
MIN_VERSION=$MIN_UR7e
198
+ elif [[ $ROBOT_MODEL == " ur8long" ]]; then
199
+ MIN_VERSION=$MIN_UR8LONG
196
200
else
197
201
MIN_VERSION=$MIN_E_SERIES
198
202
fi
@@ -202,10 +206,12 @@ validate_parameters()
202
206
echo " PolyscopeX is only supported from version $MIN_POLYSCOPE_X onwards"
203
207
exit 1
204
208
fi
205
- if [[ $ROBOT_MODEL != @ (ur3e| ur5e| ur7e| ur10e| ur12e| ur16e| ur15| ur20| ur30) ]]; then
209
+ if [[ $ROBOT_MODEL != @ (ur3e| ur5e| ur7e| ur8long | ur10e| ur12e| ur16e| ur15| ur20| ur30) ]]; then
206
210
echo " $ROBOT_MODEL is no valid PolyscopeX model!" && exit 1
207
211
elif [[ $ROBOT_MODEL == " ur7e" || $ROBOT_MODEL == " ur12e" ]]; then
208
212
MIN_VERSION=$MIN_UR7e_X
213
+ elif [[ $ROBOT_MODEL == " ur8long" ]]; then
214
+ MIN_VERSION=$MIN_UR8LONG_X
209
215
elif [[ $ROBOT_MODEL == " ur15" ]]; then
210
216
MIN_VERSION=$MIN_UR15_X
211
217
else
0 commit comments