#include <string>
#include <sstream>
#include <fstream>
#include <gtest/gtest.h>
#include <time.h>
#include <stdlib.h>
#include "ros/ros.h"
#include "ros/callback_queue.h"
#include <test_roscpp/TestArray.h>
#include <test_roscpp/TestStringString.h>
#include <boost/scoped_ptr.hpp>
Go to the source code of this file.
Classes | |
class | TimerHelper |
class | Tracked |
class | WallTimerHelper |
Functions | |
int | main (int argc, char **argv) |
TEST (RoscppTimerCallbacks, singleWallTimeCallback) | |
TEST (RoscppTimerCallbacks, multipleWallTimeCallbacks) | |
TEST (RoscppTimerCallbacks, stopWallTimer) | |
TEST (RoscppTimerCallbacks, stopThenSpin) | |
TEST (RoscppTimerCallbacks, oneShotWallTimer) | |
TEST (RoscppTimerCallbacks, singleROSTimeCallback) | |
TEST (RoscppTimerCallbacks, singleROSTimeCallbackFromRate) | |
TEST (RoscppTimerCallbacks, oneshotROSTimer) | |
TEST (RoscppTimerCallbacks, singleROSTimeCallbackLargeTimestep) | |
TEST (RoscppTimerCallbacks, multipleROSTimeCallbacks) | |
TEST (RoscppTimerCallbacks, trackedObject) | |
TEST (RoscppTimerCallbacks, stopROSTimer) | |
void | timerCallback (const ros::WallTimerEvent &evt) |
Variables | |
int32_t | g_count = 0 |
std::string | g_node_name = "test_timer_callbacks" |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 523 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
singleWallTimeCallback | |||
) |
Definition at line 104 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
multipleWallTimeCallbacks | |||
) |
Definition at line 128 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
stopWallTimer | |||
) |
Definition at line 164 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
stopThenSpin | |||
) |
Definition at line 194 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
oneShotWallTimer | |||
) |
Definition at line 208 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
singleROSTimeCallback | |||
) |
Definition at line 256 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
singleROSTimeCallbackFromRate | |||
) |
Definition at line 290 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
oneshotROSTimer | |||
) |
Definition at line 324 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
singleROSTimeCallbackLargeTimestep | |||
) |
Definition at line 354 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
multipleROSTimeCallbacks | |||
) |
Definition at line 388 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
trackedObject | |||
) |
Definition at line 456 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
stopROSTimer | |||
) |
Definition at line 490 of file timer_callbacks.cpp.
void timerCallback | ( | const ros::WallTimerEvent & | evt | ) |
Definition at line 189 of file timer_callbacks.cpp.
int32_t g_count = 0 |
Definition at line 188 of file timer_callbacks.cpp.
std::string g_node_name = "test_timer_callbacks" |
Definition at line 55 of file timer_callbacks.cpp.