Go to the documentation of this file.
10 typedef diagnostic_msgs::DiagnosticStatus
DS;
28 ROS_INFO(
"Starting initialization timer...");
46 "swri::Timer test",
this,
58 ROS_INFO(
"The %d-th number of the fibonacci sequence is %lu",
80 status.
summary(DS::OK,
"No errors reported.");
92 int main(
int argc,
char **argv)
void timerDiagnostics(du::DiagnosticStatusWrapper &status)
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
void initialize(const ros::WallTimerEvent &ignored)
int main(int argc, char **argv)
void handleUpdateTimer(const ros::TimerEvent &ignored)
int super_slow_fibonacci(int x)
void appendDiagnostics(diagnostic_updater::DiagnosticStatusWrapper &status, const std::string &name, const int flags)
void summary(const diagnostic_msgs::DiagnosticStatus &src)
diagnostic_msgs::DiagnosticStatus DS
ros::WallTimer init_timer_
void handleDiagnosticsTimer(const ros::TimerEvent &ignored)
void setHardwareID(const std::string &hwid)
du::Updater diagnostic_updater_
void param(swri::NodeHandle &nh, const std::string name, std::string &value, const std::string def, const std::string description)
void add(const std::string &name, TaskFunction f)
WallTimer createWallTimer(WallDuration period, const WallTimerCallback &callback, bool oneshot=false, bool autostart=true) const
swri::Timer update_timer_
swri_roscpp
Author(s): P. J. Reed
autogenerated on Fri Aug 2 2024 08:39:15