pub_sub.cpp File Reference

#include <string>
#include <cstdio>
#include <time.h>
#include <stdlib.h>
#include "ros/ros.h"
#include <test_roscpp/TestArray.h>
Include dependency graph for pub_sub.cpp:

Go to the source code of this file.

Defines

#define USAGE   "USAGE: publish_n_fast <sz>"

Functions

int main (int argc, char **argv)
void messageCallback (const test_roscpp::TestArrayConstPtr &msg, ros::Publisher pub)

Variables

int32_t g_array_size = 1

Define Documentation

#define USAGE   "USAGE: publish_n_fast <sz>"

Definition at line 59 of file pub_sub.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 61 of file pub_sub.cpp.

void messageCallback ( const test_roscpp::TestArrayConstPtr msg,
ros::Publisher  pub 
)

Definition at line 46 of file pub_sub.cpp.


Variable Documentation

int32_t g_array_size = 1

Definition at line 44 of file pub_sub.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Defines


test_roscpp
Author(s): Morgan Quigley mquigley@cs.stanford.edu, Ken Conley kwc@willowgarage.com
autogenerated on Fri Jan 11 09:57:51 2013