access parameters in service function
Hello,
I would like to use some parameters stored in the parameter server within a service function. I tried a lot to pass the nodeHandle as an additional parameter with functions from the boost library, but it didn't work. Can anyone give me some advice how to correctly access the NodeHandle, which is created in the main function, within the service function whenever the service is called? It would be nice if I could get a working example how to achieve this. I program the nodes in C++.
Thanks a lot