41 int main(
int argc,
char** argv)
43 ros::init(argc, argv,
"dynamixel_control");
49 using Protocol = dynamixel::protocols::Protocol1;
52 using Protocol = dynamixel::protocols::Protocol2;
66 std::shared_ptr<dynamixel::DynamixelHardwareInterface<Protocol>>
67 dynamixel_hw_interface = std::make_shared<dynamixel::DynamixelHardwareInterface<Protocol>>();
71 dynamixel_hw_interface->init(nh, robot_hw_nh);
84 catch (
const dynamixel::errors::Error& e) {
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
#define ROS_FATAL_STREAM(args)
int main(int argc, char **argv)
#define ROS_INFO_STREAM(args)
ROSCPP_DECL void waitForShutdown()