Logging to usb flash drive

logger.txt (4.7 KB)
this is the code we are trying to use for logging on a usb drive but it doesn’t log anything or even make the file. What are we doing wrong.

2 Likes

You can ssh into the Rio to verify it’s being mounted and that the path is accessible. Is there a logs directory on the flash drive? Also, the Rio may be mounting the USB filesystem as only writable by admin, and the robot program runs as lvuser. It appears that may happen for NTFS-formatted flash drives. Try with a FAT32-formatted flash drive.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.