#include <cstdlib>
#include <cstdio>
#include "topic_tools/shape_shifter.h"
#include "topic_tools/parse.h"
Go to the source code of this file.
◆ USAGE
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.
◆ in_cb()
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ g_advertised
bool g_advertised = false |
|
static |
◆ g_node
◆ g_output_topic
◆ g_pub
◆ g_x
◆ g_y