45 sh->set_fmmu_config(
new EtherCAT_FMMU_Config(0) );
46 sh->set_pd_config(
new EtherCAT_PD_Config(0) );
48 fw_major_ = (sh->get_revision() >> 8) & 0xff;
56 delete sh_->get_fmmu_config();
57 delete sh_->get_pd_config();
62 ROS_DEBUG(
"Device #%02d: WG014 (%#08x)",
sh_->get_ring_position(),
sh_->get_product_code());
69 str <<
"EtherCAT Device #" << setw(2) << setfill(
'0') <<
sh_->get_ring_position() <<
" (WG014)";
73 snprintf(serial,
sizeof(serial),
"%d-%05d-%05d",
sh_->get_product_code()/ 100000 ,
sh_->get_product_code() % 100000,
sh_->get_serial());
74 d.hardware_id = serial;
77 d.addf(
"Product code",
"WG014 (%d), Ports %s, PCB Revision %c.%02d",
78 sh_->get_product_code(),
83 d.addf(
"Serial Number",
"%s", serial);