Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Callback function to a Class member function

Hi all, this question might have just a trivial answer, but because i'm new to ROS and might be looking at the wrong places, I still can't figure it out. So, I want to create a service where the callback function would call a function of an Object (e.g. Board.executeCommand() ) . First, is it even possible? If it is, how do you do it? Thank you all..

Callback function to a Class member function

Hi all, this question might have just a trivial answer, but because i'm new to ROS and might be looking at the wrong places, I still can't figure it out. So, I want to create a service where the callback function would call a function of an Object (e.g. Board.executeCommand() ) . First, is it even possible? If it is, how do you do it? Thank you all..

EDIT: By the way, i'm using C++ as the language.