Namespaces | Functions
ros_test_helper.h File Reference
#include <string>
#include <algorithm>
#include <ros/ros.h>
#include <gtest/gtest.h>
Include dependency graph for ros_test_helper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 prbt_hardware_support
 

Functions

bool prbt_hardware_support::checkForNode (std::string node_name)
 Checks if a node is up and running. More...
 
template<class T >
static void prbt_hardware_support::initalizeAndRun (T &obj, const char *ip, unsigned int port)
 
inline ::testing::AssertionResult prbt_hardware_support::waitForNode (const std::string node_name, const double loop_frequency=10.0, const ros::Duration timeout=ros::Duration(10.0))
 Blocks until a node defined by node_name comes up. More...
 
inline ::testing::AssertionResult prbt_hardware_support::waitForNodeShutdown (std::string node_name, double timeout=1.0, double loop_frequency=10.0)
 Blocks until a node defined by node_name can no longer be found. More...
 
inline ::testing::AssertionResult prbt_hardware_support::waitForSubscriber (const ros::Publisher &publisher, const unsigned int subscriber_count=1, const double loop_frequency=10.0, const ros::Duration timeout=ros::Duration(10.0))
 Blocks until the specified number of subscribers is registered on a topic. More...
 


prbt_hardware_support
Author(s):
autogenerated on Thu Oct 22 2020 03:16:04