Skip to content

Commit

Permalink
Fixing the runtime error on line 5
Browse files Browse the repository at this point in the history
Runtime error happens. Concatenation and %-formatting was applied to a text string which didn't work properly. 
Removing the concatenation.
  • Loading branch information
takujikawata authored Aug 12, 2017
1 parent ba4c450 commit 567c73c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
import os
for i in xrange(0,12):
os.system("rosrun ar_track_alvar createMarker %d" % i) #<1>
os.system("convert MarkerData_%d.png -bordercolor white -border 100x100 " +
"MarkerData_%d.png" % (i, i)) #<2>
os.system("convert MarkerData_%d.png -bordercolor white -border 100x100 MarkerData_%d.png" % (i, i)) #<2>
with open("product_%d.material" % i, 'w') as f: #<3>
f.write("""
material product_%d {
Expand Down

0 comments on commit 567c73c

Please sign in to comment.