4343 echo
4444 echo " Syntax: ` basename " $0 " ` [-m|s|h]"
4545 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."
4747 echo " -v <version> URSim version that should be used.
4848 See https://hub.docker.com/r/universalrobots/ursim_e-series/tags
4949 for available versions. Defaults to 'latest'"
@@ -86,7 +86,7 @@ get_series_from_model()
8686 ur3e|ur5e|ur7e|ur10e|ur12e|ur16e)
8787 ROBOT_SERIES=e-series
8888 ;;
89- ur15|ur20|ur30)
89+ ur8long| ur15|ur20|ur30)
9090 ROBOT_SERIES=e-series
9191 ;;
9292 * )
@@ -125,7 +125,7 @@ strip_robot_model()
125125 ROBOT_MODEL=${robot_model^^}
126126 else
127127 ROBOT_MODEL=${robot_model^^}
128- # UR15, UR20 and UR30 need no further adjustment
128+ # UR8LONG, UR15, UR20 and UR30 need no further adjustment
129129 if [[ " $robot_model " = @ (ur3e| ur5e| ur10e| ur16e) ]]; then
130130 ROBOT_MODEL=$( echo " ${ROBOT_MODEL: 0: $((${# ROBOT_MODEL} -1))} " )
131131 elif [[ " $robot_model " = @ (ur7e| ur12e) ]]; then
@@ -153,6 +153,8 @@ validate_parameters()
153153 local MIN_UR30=" 5.15.0"
154154 local MIN_UR7e=" 5.22.0" # and UR12e
155155 local MIN_UR7e_X=" 10.9.0" # and UR12e
156+ local MIN_UR8LONG=" 5.23.0"
157+ local MIN_UR8LONG_X=" 10.11.0"
156158
157159 local URSIM_VERSION_CHECK=" $URSIM_VERSION "
158160 if [[ " $URSIM_VERSION " == " latest" ]]; then
@@ -182,7 +184,7 @@ validate_parameters()
182184 verlte " $MIN_CB3 " " $URSIM_VERSION_CHECK " && return 0
183185 ;;
184186 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
186188 echo " $ROBOT_MODEL is no valid e-series model!" && exit 1
187189 fi
188190 if [[ $ROBOT_MODEL == " ur15" ]]; then
@@ -193,6 +195,8 @@ validate_parameters()
193195 MIN_VERSION=$MIN_UR30
194196 elif [[ $ROBOT_MODEL == " ur7e" || $ROBOT_MODEL == " ur12e" ]]; then
195197 MIN_VERSION=$MIN_UR7e
198+ elif [[ $ROBOT_MODEL == " ur8long" ]]; then
199+ MIN_VERSION=$MIN_UR8LONG
196200 else
197201 MIN_VERSION=$MIN_E_SERIES
198202 fi
@@ -202,10 +206,12 @@ validate_parameters()
202206 echo " PolyscopeX is only supported from version $MIN_POLYSCOPE_X onwards"
203207 exit 1
204208 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
206210 echo " $ROBOT_MODEL is no valid PolyscopeX model!" && exit 1
207211 elif [[ $ROBOT_MODEL == " ur7e" || $ROBOT_MODEL == " ur12e" ]]; then
208212 MIN_VERSION=$MIN_UR7e_X
213+ elif [[ $ROBOT_MODEL == " ur8long" ]]; then
214+ MIN_VERSION=$MIN_UR8LONG_X
209215 elif [[ $ROBOT_MODEL == " ur15" ]]; then
210216 MIN_VERSION=$MIN_UR15_X
211217 else
0 commit comments