caster_base_socketcan_node.cpp
Go to the documentation of this file.
2 
3 int main(int argc, char *argv[]) {
4  ros::init(argc, argv, "caster_base_node");
5 
7 
8  ros::NodeHandle nh, private_nh("~");
9  std::string node_name = ros::this_node::getName();
10 
11  iqr::CasterHardware caster;
12  caster.Initialize(node_name, nh, private_nh);
13  // controller_manager::ControllerManager caster_controller_manager(&caster, nh);
14 
15  // ros::Duration period(0.1);
16 
17  // while(ros::ok()) {
18 
19  // // ros::spinOnce();
20  // period.sleep();
21  // }
22 
23 
24  spinner.start();
26  return 0;
27 }
void Initialize(std::string node_name, ros::NodeHandle &nh, ros::NodeHandle &private_nh)
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ROSCPP_DECL const std::string & getName()
int main(int argc, char *argv[])
void spinner()
ROSCPP_DECL void waitForShutdown()


caster_base
Author(s): Ye Tian
autogenerated on Wed Dec 18 2019 03:34:39