error: invalid use of non-static member function[复制链接]
error: invalid use of non-static member function ‘void Camcallbackc::camcallbackm(const ImageConstPtr&, const CameraInfoConstPtr&)’
image_transport::CameraSubscriber sub = it.subscribeCamera("/camera/rgb/camera_info",100, Camcallbackc::camcallbackm, Camcallbackcp);