param_utils/get_param_specializations/ros.hpp
Go to the documentation of this file.
1 #pragma once
2 
11 #include <ros/duration.h>
12 #include <ros/rate.h>
13 #include <ros/time.h>
14 
15 namespace cras {
16 
18 DEFINE_CONVERTING_GET_PARAM_WITH_CONSTRUCTOR(::ros::Duration, double, "s")
20 DEFINE_CONVERTING_GET_PARAM_WITH_CONSTRUCTOR(::ros::WallTime, double, "s")
21 DEFINE_CONVERTING_GET_PARAM_WITH_CONSTRUCTOR(::ros::WallDuration, double, "s")
22 DEFINE_CONVERTING_GET_PARAM_WITH_CONSTRUCTOR(::ros::WallRate, double, "Hz")
23 DEFINE_CONVERTING_GET_PARAM_WITH_CONSTRUCTOR(::ros::SteadyTime, double, "s")
24 
25 }
#define DEFINE_CONVERTING_GET_PARAM_WITH_CONSTRUCTOR(resultType, paramServerType, defaultUnit)
Generate definitions of "specializations" of getParam(Verbose) that use different ResultType and Para...
Definition: any.hpp:15


cras_cpp_common
Author(s): Martin Pecka
autogenerated on Sat Jun 17 2023 02:32:53