Import header files from bazel generated project to ROS code
Hi Guys,
I am quite new to ROS and need your suggestions in fixing the below issue.
I have a complex ROS project (Project_X)
, which is written in C++
and uses Bazel framework
to build the project.
I have written an isolated ROS project which subscribes to one of the topic from Project_X
. Now I need to use one of the function from Project_X
which is there in header Program.
How would I import the header file
to the ROS CPP program
which uses catkin_make_isolated to build.
Kindly let me know if the question is not clear.
Thank you, KK
I'm not aware of any public ROS projects that build with Bazel, but I know of two companies that are using it internally (Zoox and Cruise). If you're using headers, you probably need compiled libraries too, and exporting those from bazel is somewhere between painful and impossible. ...
In short, there's no canonical way to do this, and it's something that you should ask to the authors of
Project_X
@ahendrix Thanks for the guidance. I will check and update here if I find something useful.