chain_node.cpp
Go to the documentation of this file.
4 
5 using namespace can;
6 using namespace canopen;
7 
8 int main(int argc, char** argv){
9  ros::init(argc, argv, "canopen_chain_node_node");
10  ros::NodeHandle nh;
11  ros::NodeHandle nh_priv("~");
12 
13  RosChain chain(nh, nh_priv);
14 
15  if(!chain.setup()){
16  return 1;
17  }
18 
19  ros::spin();
20  return 0;
21 }
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ROSCPP_DECL void spin()
int main(int argc, char **argv)
Definition: chain_node.cpp:8


canopen_chain_node
Author(s): Mathias Lüdtke
autogenerated on Sat May 4 2019 02:40:46