ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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
2 | No.2 Revision |
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
3 | No.3 Revision |
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