drop.cpp File Reference
#include <cstdlib>
#include <cstdio>
#include "topic_tools/shape_shifter.h"
#include "topic_tools/parse.h"
#include <string>
Go to the source code of this file.
Define Documentation
Value:"\nusage: drop IN_TOPIC X Y [OUT_TOPIC]\n\n" \
" This program will drop X out of every Y messages from IN_TOPIC,\n" \
" forwarding the rest to OUT_TOPIC if given, else to a topic \n" \
" named IN_TOPIC_drop\n\n"
Definition at line 61 of file drop.cpp.
Function Documentation
void in_cb |
( |
const boost::shared_ptr< ShapeShifter const > & |
msg |
) |
|
int main |
( |
int |
argc, |
|
|
char ** |
argv | |
|
) |
| | |
Variable Documentation
ros::NodeHandle* g_node = NULL [static] |
ros::Publisher g_pub [static] |