37 int main(
int argc,
char **argv)
45 if(!nhPriv.
getParam(
"hostname", hostname))
51 nhPriv.
param<std::string>(
"port", port,
"2112");
56 if (nhPriv.
getParam(
"range_min", param))
58 parser->set_range_min(param);
60 if (nhPriv.
getParam(
"range_max", param))
62 parser->set_range_max(param);
64 if (nhPriv.
getParam(
"time_increment", param))
66 parser->set_time_increment(param);
70 nhPriv.
param(
"timelimit", timelimit, 5);
bool param(const std::string ¶m_name, T ¶m_val, const T &default_val)
int main(int argc, char **argv)
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
#define ROS_FATAL_STREAM(args)
bool param(const std::string ¶m_name, T ¶m_val, const T &default_val) const
bool getParam(const std::string &key, std::string &s) const
ROSCPP_DECL void spinOnce()