Copying Files into Devel Space?
My ROS node has some data files (specifically, GLSL shaders), that it needs to run. How can I configure catkin to copy these files over to the devel
space from src
, so that when rosrun
or roslaunch
is called, the files are in the proper place?
EDIT: Let me clarify. I have a couple of files in my src
directory. My executable is assuming that these files are going to be in some path relative to itself (in this case, it is in the devel
) directory. i.e, I have "./some_path_to_file"
in places in my code. Right now, I manually copy these files into the devel space so the executable can access them. What are better alternatives to this?