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

catkin_make do not create header files for srv files!

asked 2020-01-27 16:04:30 -0500

KOMODO gravatar image

updated 2020-01-27 16:20:09 -0500

I tried this tutorial. This tutorial is about creating srv files. I did everything like tutorial showed me. But in 4:14 tutorial says "you can verify your header files in devel/include" . For me this include file was not created.

I used catkin_make for compiling the workspace.

I did not understand problem. Anyone can help?

You can look my files here:

I am trying to do service_tut package. In this package i created srv file. I want to use for learn how to write a service/client example.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-01-27 16:27:59 -0500

marguedas gravatar image

For the headers of messages and services to be generated, the generate_messages macro needs to be invoked in CMake. It's currently commented out

As a side note, there is an official tutorial on the ROS wiki that will walk you through it with copy-n-paste able instructions.

edit flag offensive delete link more


thanks for responding. It worked.

Merci beaucoup pour l'aide :)

KOMODO gravatar image KOMODO  ( 2020-01-30 06:52:44 -0500 )edit

Avec plaisir :)

marguedas gravatar image marguedas  ( 2020-01-30 08:07:16 -0500 )edit

Question Tools



Asked: 2020-01-27 16:04:30 -0500

Seen: 1,136 times

Last updated: Jan 27 '20