Defines | 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.

Defines

#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 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 Oct 6 2014 07:10:50