We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e18abe4 commit 37723a8Copy full SHA for 37723a8
1 file changed
scripts/start_ursim.sh
@@ -129,7 +129,13 @@ strip_robot_model()
129
if [[ "$robot_model" = @(ur3e|ur5e|ur10e|ur16e) ]]; then
130
ROBOT_MODEL=$(echo "${ROBOT_MODEL:0:$((${#ROBOT_MODEL}-1))}")
131
elif [[ "$robot_model" = @(ur7e|ur12e) ]]; then
132
- ROBOT_MODEL=$(echo "${ROBOT_MODEL:0:$((${#ROBOT_MODEL}-1))}e")
+ # PolyScope X uses UR7e and UR12e, but PolyScope 5 uses UR7 and UR12. So we
133
+ # need to strip the "e" for PolyScope 5
134
+ if [[ "$robot_series" == "polyscopex" ]]; then
135
+ ROBOT_MODEL=$(echo "${ROBOT_MODEL:0:$((${#ROBOT_MODEL}-1))}e")
136
+ else
137
+ ROBOT_MODEL=$(echo "${ROBOT_MODEL:0:$((${#ROBOT_MODEL}-1))}")
138
+ fi
139
fi
140
141
}
0 commit comments