#include <cstdio>#include <cstdlib>#include <deque>#include "topic_tools/shape_shifter.h"#include "topic_tools/parse.h"
Go to the source code of this file.
Classes | |
| class | Sent |
Macros | |
| #define | USAGE |
Functions | |
| void | conn_cb (const ros::SingleSubscriberPublisher &) |
| void | in_cb (const ros::MessageEvent< ShapeShifter > &msg_event) |
| int | main (int argc, char **argv) |
| void | subscribe () |
Variables | |
| bool | g_advertised = false |
| uint32_t | g_bps = 0 |
| string | g_input_topic |
| ros::Time | g_last_time |
| bool | g_lazy |
| ros::NodeHandle * | g_node = NULL |
| string | g_output_topic |
| ros::Duration | g_period |
| ros::Publisher | g_pub |
| deque< Sent > | g_sent |
| ros::Subscriber * | g_sub |
| ros::TransportHints | g_th |
| bool | g_use_messages |
| bool | g_use_wallclock |
| double | g_window = 1.0 |
| #define USAGE |
Definition at line 159 of file throttle.cpp.
| void conn_cb | ( | const ros::SingleSubscriberPublisher & | ) |
Definition at line 79 of file throttle.cpp.
| void in_cb | ( | const ros::MessageEvent< ShapeShifter > & | msg_event | ) |
Definition at line 90 of file throttle.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 169 of file throttle.cpp.
| void subscribe | ( | ) |
Definition at line 74 of file throttle.cpp.
| bool g_advertised = false |
Definition at line 51 of file throttle.cpp.
| uint32_t g_bps = 0 |
Definition at line 48 of file throttle.cpp.
| string g_input_topic |
Definition at line 53 of file throttle.cpp.
| ros::Time g_last_time |
Definition at line 57 of file throttle.cpp.
| bool g_lazy |
Definition at line 59 of file throttle.cpp.
| ros::NodeHandle* g_node = NULL |
Definition at line 47 of file throttle.cpp.
| string g_output_topic |
Definition at line 52 of file throttle.cpp.
| ros::Duration g_period |
Definition at line 49 of file throttle.cpp.
| ros::Publisher g_pub |
Definition at line 54 of file throttle.cpp.
| deque<Sent> g_sent |
Definition at line 69 of file throttle.cpp.
| ros::Subscriber* g_sub |
Definition at line 55 of file throttle.cpp.
| ros::TransportHints g_th |
Definition at line 60 of file throttle.cpp.
| bool g_use_messages |
Definition at line 56 of file throttle.cpp.
| bool g_use_wallclock |
Definition at line 58 of file throttle.cpp.
| double g_window = 1.0 |
Definition at line 50 of file throttle.cpp.