How catkin_make converts msg files into .h files
env: Ubuntu 18.04 ros1.0 melodic
question: I would like to know how
catkin_make
convertsmsg
files into.h
files. And If we don't use thecatkin_make
, can we compile msg files only withCMakeLists.txt
?
Thanks.
Asked by vegetable on 2022-12-06 04:02:08 UTC
Answers
Ad Q1. The generation itself is part of the ROS client libraries. The ROS Client Libraries implement message generators that translate .msg files into source code, check out roscpp
.
Ad Q2. You can build your ROS node with messages outside catkin_ws
, you can follow steps from this tutorial:
Asked by ljaniec on 2022-12-07 03:38:03 UTC
Comments