You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line 68: with open('Positions.csv', mode = 'w') as csv_file:
Line 79: camera.start_recording('3D_Scan.h264')#Start recording the video
If the program is run a second time, it will try to write to the same files it wrote to the first time. To do that, it replaces the existing file with the one it just created. Is there a way to create a new set of files each time a new scan is made? If not, that's ok, we just don't need to worry about storage
The text was updated successfully, but these errors were encountered:
Well i’m not sure how we have it set up right now, but if we had two loops, for example, one loop that kept the program running even when we turn the scanner on and off, with the button, and one for actually continuously scanning, we could create a count variable, and every time the inside loop is left it could update, and then the file names includes that count. Example, we have outside loop running to look for the whether the button is on or off. Count is 0, button is pressed, scanner starts scanning to files0. Button is pressed, stops scanning, count is 1. Button is pressed, starts scanning to files1, etc.
Line 68:
with open('Positions.csv', mode = 'w') as csv_file:
Line 79:
camera.start_recording('3D_Scan.h264')#Start recording the video
If the program is run a second time, it will try to write to the same files it wrote to the first time. To do that, it replaces the existing file with the one it just created. Is there a way to create a new set of files each time a new scan is made? If not, that's ok, we just don't need to worry about storage
The text was updated successfully, but these errors were encountered: