37 #include <std_msgs/Float32.h>
42 parent_(parent), start_time_(
ros::WallTime::now()),
43 is_publish_(false), is_enabled_(true)
49 WallDurationTimer* parent,
52 parent_(parent), start_time_(
ros::WallTime::now()),
53 pub_latest_(pub_latest), pub_average_(pub_average),
54 is_publish_(true), is_enabled_(true)
66 std_msgs::Float32 ros_latest;
69 std_msgs::Float32 ros_average;
87 max_num_(max_num), buffer_(max_num)
105 return ScopedWallDurationReporter(
this, pub_latest, pub_average);