34 #include <boost/function.hpp> 35 #include <boost/bind/placeholders.hpp> 45 ROS_INFO(
"Starting initialization timer...");
91 std::vector<std::pair<std::string, int> > enums;
92 enums.push_back({
"First", 1});
93 enums.push_back({
"Second", 2});
94 enums.push_back({
"Third", 3});
95 enums.push_back({
"Zeroth", 0});
120 int main(
int argc,
char **argv)
122 ros::init(argc, argv,
"dynamic_parameters_test");
int main(int argc, char **argv)
double getTestDouble() const
void finalize(bool alphabetical_order=true)
const std::string & getTestString() const
void initialize(ros::NodeHandle &pnh)
const std::string & getTestEnum() const
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
float getTestFloat() const
void setCallback(boost::function< void(DynamicParameters &)> fun)
WallTimer createWallTimer(WallDuration period, void(T::*callback)(const WallTimerEvent &), T *obj, bool oneshot=false, bool autostart=true) const
ros::WallTimer init_timer_
void get(const std::string &name, float &variable, const float default_value, const std::string description="None.", const float min=-100, const float max=100)
void addEnums(const std::string ¶m, const std::vector< std::pair< std::string, int > > &enums)
DynamicParametersTestNode()
swri::DynamicParameters params_
void handleReconfigure(swri::DynamicParameters ¶ms)
void initialize(const ros::WallTimerEvent &)