ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi, Change the following

scan_filter_sub_ = nh_.subscribe("scan", 50, msgCallback);

to

scan_filter_sub_ = nh_.subscribe("scan", 50, &BrController::msgCallback);

Hope it resolves the issue.

Thanks, Karthik

Hi, Change the following

scan_filter_sub_ = nh_.subscribe("scan", 50, msgCallback);

to

scan_filter_sub_ = nh_.subscribe("scan", 50, &BrController::msgCallback);
&BrController::msgCallback, this);

Hope it resolves the issue.

Thanks, Karthik

Hi, Change the following

scan_filter_sub_ = nh_.subscribe("scan", 50, msgCallback);

to

scan_filter_sub_ = nh_.subscribe("scan", 50, &BrController::msgCallback, this);

And you have to remove ')' in the .h file at line num 38.

Hope it resolves the issue.

Thanks, Karthik