Skip to content

Commit 2ea0a09

Browse files
committed
Add support for URSim 10.9.0
- Add image mapping string for 10.9.0 - Fix model environment variable for UR7e and UR12e - Add tests for UR7e and UR12e
1 parent 0a6bb91 commit 2ea0a09

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

scripts/start_ursim.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ TEST_RUN=false
4040
# The PolyScopeX URSim containers follow the SDK versioning scheme. This maps those to marketing
4141
# versions
4242
declare -Ag POLYSCOPE_X_MAP=( ["10.7.0"]="0.12.159"
43-
["10.8.0"]="0.13.124")
43+
["10.8.0"]="0.13.124"
44+
["10.9.0"]="0.14.47")
4445

4546
help()
4647
{
@@ -135,7 +136,11 @@ strip_robot_model()
135136
if [[ "$robot_model" = @(ur3e|ur5e|ur10e|ur16e) ]]; then
136137
ROBOT_MODEL=$(echo "${ROBOT_MODEL:0:$((${#ROBOT_MODEL}-1))}")
137138
elif [[ "$robot_model" = @(ur7e|ur12e) ]]; then
138-
ROBOT_MODEL=$(echo "${ROBOT_MODEL:0:$((${#ROBOT_MODEL}-1))}e")
139+
if [[ "$robot_series" == "polyscopex" ]]; then
140+
ROBOT_MODEL=$(echo "${ROBOT_MODEL:0:$((${#ROBOT_MODEL}-1))}")
141+
else
142+
ROBOT_MODEL=$(echo "${ROBOT_MODEL:0:$((${#ROBOT_MODEL}-1))}e")
143+
fi
139144
fi
140145
fi
141146
}

tests/test_start_ursim.bats

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,10 @@ setup() {
171171
run test_input_handling -m ur7e -v 5.22.0
172172
echo "$output"
173173
[ $status -eq 0 ]
174-
#run test_input_handling -m ur7e -v 10.9.0
175-
#echo "$output"
176-
#[ $status -eq 0 ]
174+
175+
run test_input_handling -m ur7e -v 10.9.0
176+
echo "$output"
177+
[ $status -eq 0 ]
177178
}
178179

179180
@test "test ur12e min version" {
@@ -190,9 +191,10 @@ setup() {
190191
run test_input_handling -m ur12e -v 5.22.0
191192
echo "$output"
192193
[ $status -eq 0 ]
193-
#run test_input_handling -m ur12e -v 10.9.0
194-
#echo "$output"
195-
#[ $status -eq 0 ]
194+
195+
run test_input_handling -m ur12e -v 10.9.0
196+
echo "$output"
197+
[ $status -eq 0 ]
196198
}
197199

198200
@test "test ur15 min version" {

0 commit comments

Comments
 (0)