Closed v4hn closed 4 years ago
+1 for --no-timeout
I see value in both using the number to encode wait time (if passed in through a parameter) and the more verbose option. Can we have both please? ;)
Wow, it is a trivial patch obviously improving applicability in a case that was not documented at all before. I barely care whether it gets merged or not, I just took a minute to pull-request what I typed locally.
So I'm a bit surprised to get further request for icing and sprinkles. sigh Anyway addressed.
@v4hn indeed sometimes it is unusual to be on the receiving end of reviews ;)
rospy.wait_for_service
does not allow for0
to wait indefinitely. InsteadNone
has to be passed explicitly.A user-provided value of 0 leads to an error message and failure at the moment, so it is alright to use the value to indicate indefinite waiting time.