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

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

https://www.youtube.com/watch?v=dxVQn...

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: https://github.com/MYComodo/ROS_Tutor...

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
1

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

Comments

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

2 followers

Stats

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

Seen: 1,139 times

Last updated: Jan 27 '20