ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
It might be dirty, but you can try with:
void callback(void* data) {
static_cast<MyMessageConstPtr>(data) //if you need to
}
but I will strongly advice against this.