Go to the documentation of this file.
35 #include <gtest/gtest.h>
58 namespace message_traits
91 MsgPtr msg(boost::make_shared<Msg>());
146 int main(
int argc,
char **argv){
147 testing::InitGoogleTest(&argc, argv);
149 ros::init(argc, argv,
"time_sequencer_test");
153 return RUN_ALL_TESTS();
void cb(const MsgConstPtr &)
ros::Time getReceiptTime() const
Sequences messages based on the timestamp of their header.
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
void connectInput(F &f)
Connect this filter's input to another filter's output.
ROSCPP_DECL void spinOnce()
static void setNow(const Time &new_now)
int main(int argc, char **argv)
boost::shared_ptr< Msg > MsgPtr
void cb(const ros::MessageEvent< Msg const > &evt)
static ros::Time value(const Msg &m)
ros::MessageEvent< Msg const > event_
Connection registerCallback(const C &callback)
Register a callback to be called when this filter has passed.
boost::shared_ptr< M > getMessage() const
boost::shared_ptr< Msg const > MsgConstPtr
TEST(TimeSequencer, simple)
void add(const EventType &evt)
message_filters
Author(s): Josh Faust, Vijay Pradeep, Dirk Thomas
, Jacob Perron
autogenerated on Thu Nov 23 2023 04:01:54