Directory of executables of ROS nodes compiled with Catkin
I have built ROS node that uses openCV and that needs to load some specific files during execution. The files need to be in the 'current directory' in usual OpenCV implementation, which I believe is the directory of the compiled ROS nodes.
- Is that correct?
- Where is it located?
The exact code I am talking about can be found on the link given above, where two files, "haarcascade_frontalface_alt.xml" and "haarcascade_eye_tree_eyeglasses.xml" have to be loaded by the instructions
face_cascade.load( face_cascade_name )
eyes_cascade.load( eyes_cascade_name )