std_srvs.srv/* doesn't exist
I'm trying to use catkin_make but it gives an error to my .cpp file:
std_srvs.srv/* : file or directory does not exist
12 | #include < std_srvs.srv/* >
I installed the ros-std-srvs by typing these commands:
sudo apt-get update -y
sudo apt-get install -y ros-std-srvs
So what's the problem?
Is this a C++ node? Because
std_srvs.srv/*
is not how you'd#include
a service definition header.I thought I should include it like this, since in the python script I have: from std_srvs.srv import * and I was trying to translate it in C++
Have you tried to follow the Writing a simple service [server] and client?
Yes I solved thanks