2 #include "std_srvs/SetBool.h" 8 std_srvs::SetBool::Response &res) {
11 res.message =
"Finished";
15 res.message =
"Still booting ...";
24 int main(
int argc,
char **argv) {
28 privateNh.
param<
double>(
"wait_time", wait_time, 1);
bool bootUpService(std_srvs::SetBool::Request &req, std_srvs::SetBool::Response &res)
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
void timerCallback(const ros::TimerEvent &)
ROSCPP_DECL void spin(Spinner &spinner)
int main(int argc, char **argv)
bool param(const std::string ¶m_name, T ¶m_val, const T &default_val) const