Skip to content

Commit a4226e8

Browse files
authored
Support PolyScopeX simulator for 10.8.0 (#315)
As per subject.
1 parent 6eb3b53 commit a4226e8

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

scripts/start_ursim.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ TEST_RUN=false
3939
# TODO: Add support for more URSim PolyScopeX versions once released
4040
# The PolyScopeX URSim containers follow the SDK versioning scheme. This maps those to marketing
4141
# versions
42-
#declare -Ag POLYSCOPE_X_MAP=( ["10.7.0"]="0.12.159"
43-
#["10.8.0"]="not.there.yet")
44-
declare -Ag POLYSCOPE_X_MAP=( ["10.7.0"]="0.12.159" )
42+
declare -Ag POLYSCOPE_X_MAP=( ["10.7.0"]="0.12.159"
43+
["10.8.0"]="0.13.124")
4544

4645
help()
4746
{
@@ -183,8 +182,8 @@ validate_parameters()
183182
fi
184183
;;
185184
polyscopex)
186-
if [[ -z "${POLYSCOPE_X_MAP[${URSIM_VERSION}]}" ]]; then
187-
echo "URSim version $URSIM_VERSION is not supported"
185+
if [[ ! "${POLYSCOPE_X_MAP[${URSIM_VERSION}]+_}" ]]; then
186+
echo "URSim version $URSIM_VERSION is unfortunately not supported"
188187
exit 1
189188
fi
190189
if [[ $ROBOT_MODEL != @(ur3e|ur5e|ur10e|ur16e|ur20|ur30) ]]; then

0 commit comments

Comments
 (0)