#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, setPeriod) | |
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 &) |
Variables | |
int32_t | g_count = 0 |
std::string | g_node_name = "test_timer_callbacks" |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 670 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
singleWallTimeCallback | |||
) |
Definition at line 169 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
multipleWallTimeCallbacks | |||
) |
Definition at line 193 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
setPeriod | |||
) |
Definition at line 229 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
stopWallTimer | |||
) |
Definition at line 311 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
stopThenSpin | |||
) |
Definition at line 341 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
oneShotWallTimer | |||
) |
Definition at line 355 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
singleROSTimeCallback | |||
) |
Definition at line 403 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
singleROSTimeCallbackFromRate | |||
) |
Definition at line 437 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
oneshotROSTimer | |||
) |
Definition at line 471 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
singleROSTimeCallbackLargeTimestep | |||
) |
Definition at line 501 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
multipleROSTimeCallbacks | |||
) |
Definition at line 535 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
trackedObject | |||
) |
Definition at line 603 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
stopROSTimer | |||
) |
Definition at line 637 of file timer_callbacks.cpp.
void timerCallback | ( | const ros::WallTimerEvent & | ) |
Definition at line 336 of file timer_callbacks.cpp.
int32_t g_count = 0 |
Definition at line 335 of file timer_callbacks.cpp.
std::string g_node_name = "test_timer_callbacks" |
Definition at line 55 of file timer_callbacks.cpp.