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.


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


ros::NodeHandle nh
char * rosSrvrIp = ""
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 = ""

Definition at line 14 of file ExampleSubscriber.cpp.

ros::Subscriber<std_msgs::String> sub("chatter", messageCb)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines

Author(s): Paul Bouchier
autogenerated on Sat Mar 2 13:26:15 2013