ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How catkin_make converts msg files into .h files

asked 2022-12-06 03:02:08 -0500

vegetable gravatar image

updated 2022-12-07 02:20:46 -0500

ljaniec gravatar image
  1. env: Ubuntu 18.04 ros1.0 melodic

  2. question: I would like to know how catkin_make converts msg files into .h files. And If we don't use the catkin_make, can we compile msg files only with CMakeLists.txt


edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2022-12-07 02:38:03 -0500

ljaniec gravatar image

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:

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2022-12-06 03:02:08 -0500

Seen: 80 times

Last updated: Dec 07 '22