how to read usb stick using ros [closed]
I want to read a single file on a usb stick using ros as I want to use this functionality in my robot. I have no idea how to do this as I just went through the tutorials . My c++ code should detect the usb stick. I just want a rough guidance on how to approach this problem.
This isn't really a ROS question; you may want to look for C++ examples for reading from the file system on a site like stackoverflow.com
I agree with @ahendrix: this isn't ROS specific at all. If on Linux, you could perhaps see if something like
udev
ordbus
could help you. I'm going to close this question for now.