how to read usb stick using ros [closed]

asked 2015-05-22 18:02:36 -0600

Upendra gravatar image

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.

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant. Please see for more details. by gvdhoorn
close date 2015-05-23 01:44:07.735409


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

ahendrix gravatar image ahendrix  ( 2015-05-22 23:12:15 -0600 )edit

I agree with @ahendrix: this isn't ROS specific at all. If on Linux, you could perhaps see if something like udev or dbus could help you. I'm going to close this question for now.

gvdhoorn gravatar image gvdhoorn  ( 2015-05-23 01:43:47 -0600 )edit