How to locate a ros file with a relative path [closed]
I want to open a file in other package or a file not in current folder.
Does ros have functions to get a relative path of file without a rospack command?
For example, to read change_log.txt from test.cpp:
package a/test.cpp
package b/change_log.txt
refer to: #q73906.