Passing arguments to Python callback in rospy

To pass more arguments to your callback function in rospy, it is actually super simple.

Of course, rather than a tuple, something like a single “String” could also be passed directly.

Leave a Reply

Your email address will not be published. Required fields are marked *