#include <ros.h>
#include <std_msgs/String.h>
#include <rosserial_examples_msgs/Test.h>
#include <stdio.h>
Go to the source code of this file.
Macros | |
#define | ROSSRVR_IP "192.168.15.122" |
Functions | |
int | main () |
void | svcCallback (const Test::Request &req, Test::Response &res) |
Variables | |
int | i =0 |
ros::NodeHandle | nh |
ros::ServiceServer< Test::Request, Test::Response > | server ("test_srv",&svcCallback) |
#define ROSSRVR_IP "192.168.15.122" |
Definition at line 17 of file ExampleService.cpp.
int main | ( | ) |
Definition at line 29 of file ExampleService.cpp.
void svcCallback | ( | const Test::Request & | req, |
Test::Response & | res | ||
) |
Definition at line 20 of file ExampleService.cpp.
int i =0 |
Definition at line 19 of file ExampleService.cpp.
Definition at line 15 of file ExampleService.cpp.
ros::ServiceServer<Test::Request, Test::Response> server("test_srv",&svcCallback) |