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

Go to the source code of this file.

Functions

int main ()
void messageCb (const std_msgs::String &received_msg)

Variables

ros::NodeHandle nh
char * rosSrvrIp = "192.168.15.149"
ros::Subscriber< std_msgs::String > sub ("chatter", messageCb)

Function Documentation

int main ( )

Definition at line 21 of file ExampleSubscriber.cpp.

void messageCb ( const std_msgs::String &  received_msg)

Definition at line 16 of file ExampleSubscriber.cpp.


Variable Documentation

Definition at line 13 of file ExampleSubscriber.cpp.

char* rosSrvrIp = "192.168.15.149"

Definition at line 14 of file ExampleSubscriber.cpp.

ros::Subscriber<std_msgs::String> sub("chatter", messageCb)


rosserial_embeddedlinux
Author(s): Paul Bouchier
autogenerated on Mon Oct 6 2014 07:10:50