how to use callback funtions with out using static key word in Ros with c++
Hi,
how to use callback funtions with out using static key word in Ros with c++
Thanks
You have not given many details, but I think making the callback function be inside a class and using member variables of that same class will allow you to store values from messages in a persistent way. If that is not what you're looking for then please edit your question to provide more details.
post the relevant code you have, you normally dont need any static reference to implement a callback!