Macros | Functions | Variables
ExampleService.cpp File Reference
#include <ros.h>
#include <std_msgs/String.h>
#include <rosserial_examples_msgs/Test.h>
#include <stdio.h>
Include dependency graph for ExampleService.cpp:

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)
 

Macro Definition Documentation

#define ROSSRVR_IP   "192.168.15.122"

Definition at line 17 of file ExampleService.cpp.

Function Documentation

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.

Variable Documentation

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)


rosserial_embeddedlinux
Author(s): Paul Bouchier
autogenerated on Mon Jun 10 2019 14:53:23