7 int main(
int argc,
char** argv)
9 const std::string bus_name =
"eth1";
10 const std::string slave_name =
"ExampleSlave";
13 std::unique_ptr<rokubimini::soem_interface::EthercatBusBase> bus =
14 std::make_unique<rokubimini::soem_interface::EthercatBusBase>(bus_name);
16 std::shared_ptr<soem_interface_examples::ExampleSlave>
slave =
17 std::make_shared<soem_interface_examples::ExampleSlave>(slave_name, bus.get(), slave_address);
int main(int argc, char **argv)