How to use Catkin to generate code for your own client library?
I'm currently developing a ROS Client Library for the Rust programming language. The development has been done sporadically in my free time for the last several months. The source code being here: https://github.com/adnanademovic/rosrust
I pretty much followed the Wiki page for implementing client libraries and the "At a minimum, a client library MUST:" part is feature complete (though not error paths are done yet - I've focused on making the code very concurrent, and in some places I just tell a thread to crash without telling what happened).
Anyways, to be usable, I need to make a .msg file compiler. I'm aware of the existence of gendeps for md5 and message definition. The thing that confuses me is what depending on "roslang" does and how to integrate with rosbuild or catkin to generate .msg files for all dependencies too. So could anyone please shed some light on what the right thing to do here is?
Just to stress this - I already have the rosmsg compiler that takes a *.msg and spits out a .rs file. What I want to know is what the general ROS pipeline is - how to tell ROS, when I say catkin_make, to take a hierarchy of .msg files and put them through my compiler?
Quick comment:
rosbuild
was the old build infrastructure. This has been replaced by Catkin.