ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
If you are calling the advertiseService
function within that class, you may call it like so:
c++
ros::ServiceServer auction_service = n.advertiseService(PACKAGE_NAME + "/auction", &trader::Trader::auctionCB, this);
Should work!
2 | No.2 Revision |
If you are calling the advertiseService
function within that class, you may call it like so:
c++
ros::ServiceServer auction_service = n.advertiseService(PACKAGE_NAME + "/auction", \
&trader::Trader::auctionCB, this);
Should work!
3 | No.3 Revision |
If you are calling the advertiseService
function within that class, you may call it like so:
ros::ServiceServer auction_service = n.advertiseService(PACKAGE_NAME + "/auction",
\
&trader::Trader::auctionCB, this);
Should work!