HU-Robotics-2 / ScannerBot

0 stars 0 forks source link

8.7: New plan for barcode scanner: Write data to package_database.txt #71

Open AyomideCode opened 8 months ago

AyomideCode commented 8 months ago

When the robot scans a barcode:

update /barcode
cooldown period of 5 seconds before /barcode topic updates again
**timestamp the scan, show where, ascii text, code symbolizing destination code**
write /barcode data to a file called package_database.txt
make a scan sound effect from the create3

I want there to be a "database" of sorts, for when /barcode updates with new data. Write the data to a file named package_database.txt and make a newline.