2 #include <boost/asio.hpp>
3 #include <boost/bind.hpp>
4 #include <boost/date_time/posix_time/posix_time.hpp>
7 #include <rosgraph_msgs/Clock.h>
18 t_ = (double)std::time(NULL);
27 rosgraph_msgs::Clock msg;
46 int main(
int argc,
char **argv)
53 nh.
param<
int>(
"/emulation_dt_ms", dt_ms, 10);
54 nh.
param<
double>(
"/emulation_time_factor", time_factor, 1.0);
56 boost::asio::io_service io;