Why does service not work from launch file ?
I create a permanent service, and its client in my launch file. All subsequent service calls fail. I have discovered that if I kill the client and run it from the command line, then the service calls work. The service also works if I call it directly from the command line using 'rosservice'.
I have also discovered that making the service temporary solves the issue. I suspect that the launch file does something before the service is ready, but I don't know what.
I still want to use a permanent service for efficiency. What can I do to fix the problem ?
Is permanent actually persistent here?
Yes, I did mean 'persistent'. I don't even remember where I got the idea they were called 'permanent' connections now. It was something I read while investigating them.