ROS Service Call as a bool switch
In this node I instantiate a tf broadcaster and it also a service provider. In main function, inside a while ros is okay loop, I have an if condition which is dependent on a global variable switched to true by a service call. For some reason, this doesn't work. Any ideas?
Asked by shloksobti on 2019-02-27 00:43:17 UTC
Comments
Sure. There is something wrong with your code... ;-)
Please provide more details, i.e. in this case: source code, as well as a more detailed description on what "does not work" (expected behavior, observed behavior, any errors...)! Otherwise we cannot help...
Asked by mgruhler on 2019-02-27 02:00:21 UTC
Surely in these many years @mgruhler you have developed clairvoyance and can see what is not working, no?
Asked by gvdhoorn on 2019-02-27 04:48:45 UTC
@gvdhoorn sure. With the context provided this guess is as good as any. This is also why I added the winky-smiley at the end... So sorry if you don't share my sense of humor here. If you insist, I'll make sure to just neglect the first line for the future... :-D
Asked by mgruhler on 2019-02-28 01:32:42 UTC
:)
But really @shloksobti: please update your post with more details, as right now we cannot help you.
Asked by gvdhoorn on 2019-02-28 04:55:35 UTC