(configurator->getInfoForSlave(slave).type == EthercatDeviceConfigurator::EthercatSlaveType::Elmo) { #ifdef _ELMO_FOUND_ std::shared_ptr<elmo::Elmo> elmo_slave_ptr = std::dynamic_pointer_cast<elmo::Elmo>(slave); if (!elmoEnabledAfterStartup) // Set elmos to operation ena...
EthercatDeviceConfigurator::EthercatSlaveType::Anydrive) { if (configurator->getInfoForSlave(slave).type == EthercatDeviceConfigurator::EthercatSlaveType::Anydrive) { #ifdef _ANYDRIVE_FOUND_ anydrive::AnydriveEthercatSlave::SharedPtr any_slave_ptr = ...
throw std::runtime_error("[EthercatDeviceConfigurator] Node: " + child.Tag() + " has no entry type"); } //name - entry @@ -191,7 +191,7 @@ void EthercatDeviceConfigurator::parseFile(std::string path) } else { throw std::runtime_error("[EthercatDeviceConfigurator] Node: " + ch...