|
NASA Astrobee Robot Software
0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
|
Go to the documentation of this file.
19 #ifndef LOCALIZATION_COMMON_ROS_TIMER_H_
20 #define LOCALIZATION_COMMON_ROS_TIMER_H_
26 #include <std_msgs/Header.h>
33 explicit RosTimer(
const std::string& timer_name);
36 void HeaderDiff(
const std_msgs::Header& header);
39 void Vlog(
const int level = 2)
const;
40 void LogEveryN(
const int num_timing_events_per_log)
const;
41 void VlogEveryN(
const int num_timing_events_per_log,
const int level = 2)
const;
49 #endif // LOCALIZATION_COMMON_ROS_TIMER_H_
Definition: averager.h:33
Definition: ros_timer.h:31
void Vlog(const int level=2) const
Definition: ros_timer.cc:36
Definition: averager.h:34
void Stop()
Definition: ros_timer.cc:30
void VlogEveryN(const int num_timing_events_per_log, const int level=2) const
Definition: ros_timer.cc:38
void Log() const
Definition: ros_timer.cc:35
void HeaderDiff(const std_msgs::Header &header)
Definition: ros_timer.cc:25
void Start()
Definition: ros_timer.cc:24
double Time
Definition: time.h:23
RosTimer(const std::string &timer_name)
Definition: ros_timer.cc:23
void LogEveryN(const int num_timing_events_per_log) const
Definition: ros_timer.cc:37