I have already tried to add execution persmistions for the c++ node file by this command in terminal:
user:~/catkin_ws/src/service_client_pkg/src$ chmod 777 simple_service_client.cpp
Still same error.
I made sure of launching the Start_service.launch in another terminal and it launched fine everytime, but the client file is having issues.
I just repeated the process to well explain it well.
It seems weird when i do catkin_make, the ws compiles way too quickly, so i have doubts that client node doesn’t compile at all.
Answers to your questions-
what is the output of running: cd ~/catkin_ws
does the package compile without errors? - Yes the project compiles with no errors. The error is only when i launch client node. Source setup.bash after catkin_make (in all terminals).
Once I know it is waiting for a service to call it , I call the service by launching the client node in a new terminal with Service running in first terminal as shown below: