Main Page
Namespaces
Classes
Files
File List
File Members
src
chain_node.cpp
Go to the documentation of this file.
1
#include <
socketcan_interface/dispatcher.h
>
2
#include <
socketcan_interface/socketcan.h
>
3
#include <
canopen_chain_node/ros_chain.h
>
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
}
ros::NodeHandle
socketcan.h
can
ros::init
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
canopen::RosChain::setup
bool setup()
Definition:
ros_chain.cpp:541
ros_chain.h
dispatcher.h
ros::spin
ROSCPP_DECL void spin()
canopen
canopen::RosChain
Definition:
ros_chain.h:160
main
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