Main Page
Namespaces
Classes
Files
File List
File Members
src
main.cpp
Go to the documentation of this file.
1
#include "
yocs_waypoints_navi/waypoints_navi.hpp
"
2
3
4
int
main
(
int
argc,
char
**argv)
5
{
6
ros::init
(argc, argv,
"waypoints_navi"
);
7
8
yocs::WaypointsGoalNode
eg;
9
if
(eg.
init
() ==
false
)
10
{
11
ROS_ERROR
(
"%s initialization failed"
,
ros::this_node::getName
().c_str());
12
return
-1;
13
}
14
ROS_INFO
(
"%s initialized"
,
ros::this_node::getName
().c_str());
15
eg.
spin
();
16
return
0;
17
}
yocs::WaypointsGoalNode
Definition:
waypoints_navi.hpp:32
main
int main(int argc, char **argv)
Definition:
main.cpp:4
waypoints_navi.hpp
ros::init
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
yocs::WaypointsGoalNode::init
bool init()
Definition:
waypoints_navi.cpp:29
ros::this_node::getName
ROSCPP_DECL const std::string & getName()
ROS_INFO
#define ROS_INFO(...)
ROS_ERROR
#define ROS_ERROR(...)
yocs::WaypointsGoalNode::spin
void spin()
Definition:
waypoints_navi.cpp:189
yocs_waypoints_navi
Author(s): Jorge Santos Simon
autogenerated on Mon Jun 10 2019 15:54:12