Go to the documentation of this file.
42 #include <gtest/gtest.h>
46 #include <rosgraph_msgs/Clock.h>
48 #include <boost/thread.hpp>
49 #include <boost/bind/bind.hpp>
59 rosgraph_msgs::Clock message;
85 ASSERT_TRUE(
start.isZero());
162 int main(
int argc,
char** argv)
164 testing::InitGoogleTest(&argc, argv);
169 return RUN_ALL_TESTS();
void waitThread(bool *done)
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
void sleepThread(bool *done)
static void setNow(const Time &new_now)
void publish(const boost::shared_ptr< M > &message) const
Publisher advertise(AdvertiseOptions &ops)
const Time TIME_MIN(0, 1)
void setTime(ros::Time t)
int main(int argc, char **argv)
TEST(Clock, sleepFromZero)
TEST_F(RosClockTest, SimClockTest)
static bool waitForValid()
uint32_t getNumSubscribers() const
test_roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
, Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:57