00001 #include <canopen_motor_node/motor_chain.h> 00002 00003 using namespace canopen; 00004 00005 00006 int main(int argc, char** argv){ 00007 ros::init(argc, argv, "canopen_motor_chain_node"); 00008 ros::AsyncSpinner spinner(0); 00009 spinner.start(); 00010 00011 ros::NodeHandle nh; 00012 ros::NodeHandle nh_priv("~"); 00013 00014 MotorChain chain(nh, nh_priv); 00015 00016 if(!chain.setup()){ 00017 return 1; 00018 } 00019 00020 ros::waitForShutdown(); 00021 return 0; 00022 }